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
Open the tools folder in VSCode and just click in the file browser to open the file in the editor.
Soon as the file is opened, console.log statement gets executed. See below video
Restarts are triggering just opening the files in an editor such as VSCode.
Steps to reproduce
Install node.
Install chokidar.
Create a js file and add the following code
Open the
tools
folder in VSCode and just click in the file browser to open the file in the editor.Soon as the file is opened,
console.log
statement gets executed. See below videobug video.zip
Versions (please complete the following information):
Ideally prove a problem by isolating and making it reproducible with a very short sample program, which you could paste here:
I have attached a video for reference. It works if I change the following condition
to
Expected behavior
console.log
statement should be executed only if there is any change in the file.Reference - It is the same issue that is described remy/nodemon#1208 here.
The text was updated successfully, but these errors were encountered: