You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The default ignore options doesn't ignore changes in the .git directory
[browser-refresh] Server is ready. Page refresh triggered over WebSockets connection.
[browser-refresh] Triggering refresh of client pages...
[browser-refresh] Refresh triggered
[browser-refresh] File has been changed: .git/FETCH_HEAD
[browser-refresh] Restarting app...
[browser-refresh] App started (pid: 23543)
Server started! Try it out:
The text was updated successfully, but these errors were encountered:
StarpTech
changed the title
.git isn't ignored
.git directory isn't ignored
Mar 8, 2019
[browser-refresh] File has been changed: .git/index.lock
[browser-refresh] Restarting app...
[browser-refresh] File has been changed: .git/index
[browser-refresh] App started (pid: 26187)
@StarpTech@basickarl I was finding this issue as well (on an inherited legacy project) - since browser-refresh was using the .gitignore file to build a list of ignore rules I just added
.git/index.lock
to my .gitignore (that is more likely to help @basickarl ). Another way to resolve this would be to create the .browser-refresh-ignore file and just put your ignore rules in there.
That solved it for me, if that doesn't work maybe it's a version issue (I'm on 1.6.0)
The default ignore options doesn't ignore changes in the
.git
directoryThe text was updated successfully, but these errors were encountered: