-
Notifications
You must be signed in to change notification settings - Fork 29.9k
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
Save file even without file changes - so that Nodemon, Gulp, Chokidar and other file watchers restart #7470
Comments
+1 Needed for gulp watching. |
+1 Need for chokidar-cli used in npm scripts I find myself too many times hitting space and then cmd-s. |
Verify: you can save files that are not dirty and their mtime/atime changes on disk. E.g. install an external node watcher and verify it fires. |
Well that's basically what my setup is (I use https://github.com/guard/guard) and it does not detect any change and so does not run any tests. Just now I tried to save file without any changes and there is no change to any of the file stats (dates) either on remote or local drive. |
@PunchyRascal you can verify this tomorrow from our insider build when it lands. You can give our preview releases a try from: http://code.visualstudio.com/Download#insiders |
Work perfectly, thanks. Tried on:
|
@PunchyRascal thanks, marking as verified. |
It would be very useful to have VSCode save a file even when no file changes have taken place, because when an error occurs, Nodemon crashes and doesn't restart the app until a save has taken place.
So even if you want to restart the server without making any file changes - sometimes bugs happen due to a runtime event, it's not always an obvious bug in your code, you have to make some kind of unnecessary change, like typing a space before being able to save, which is annoying.
The text was updated successfully, but these errors were encountered: