-
Notifications
You must be signed in to change notification settings - Fork 181
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
Vim + presence of package.json results in watchify breakage #206
Labels
Comments
@rashkov What happens if the output file is written to a directory that is not a descendent of where your js files / package.json are? |
That does not seem to fix it:
|
Happy to add your public key to that debian instance if you'd like to SSH in and do any testing. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Watchify seems to stop watching files when they are edited in Vim. This problem goes away when package.json is removed.
A couple of thoughts on this:
1)Since browserify and maybe watchify parse package.json before running, this may be some kind of race condition.
2) I am not seeing this problem when using Chokidar.watch directly on a file.
3) Vim seems to do what's called a "safe write" where it writes the file all at once. This might explain why other editors, or simply touching the file doesn't trigger this issue.
4) Using the Watchify API directly with Gulp also shows this issue.
At this point I'm completely out of ideas. Would love a fresh perspective on this issue.
I spun up a fresh Debian instance and logged my tests below. Added some line-breaks for readability:
The text was updated successfully, but these errors were encountered: