-
Notifications
You must be signed in to change notification settings - Fork 822
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
External file changes are not detected #678
Comments
Can you clarify a few things for me?
|
@benhillis I just did a test with the watch util
where test.txt was a file I was editing and saving in Notepad. As soon as I saved the file, my watcher did update the size correctly as long as the file test.txt was in driveFS. On the other hand, when I tried to do it spits out an error message:
However, tail -f does work in polling mode after that. It might be that Meteor's watcher uses the same kind of watcher as tail -f (and is failing bc of a filesystem thing), or maybe he's working inside of %localappdata%\LXSS (which would cause obvious problems) |
Meteor is exceptionally clever about avoiding #216, and does its best with a The |
@therealkenc Good call. This isn't the first time our fstype has caused bad behavior. I think you're right though if we report S_MAGIC_NTFS things might work a lot better. |
I think it is a seriously hard question what to return, with no right answer. One can also imagine a Samba daemon on WSL looking at the fstype magic number and saying "NTFS share, no unix symlinks for you!", even though DrvFs has the new reparse points. |
when we are running a file watcher in bashOnWindows. Any external files updates from windows programs can't be caught by the watch. I'm running MeteorJS on bashOnWindows. When I'm editing a file externally using an editor such as Visual Studio Code. The meteor watcher doesn't pick up any file save changes and restart the meteor server.
The text was updated successfully, but these errors were encountered: