How do you stop files from being watched?
I have not seen the method in the docs which seems a bit odd to me.
How do you stop files from being watched?
I have not seen the method in the docs which seems a bit odd to me.
It's not a gulp thing. Gulp is just running as a never ending process.
The way to abort a process is Ctrl+C.
According the official document. you can using returned stream
method to stop it.
let watchStream = gulp-watch(paths, function(){})
watchStream.close()
If you are using Visual Studio 'Package Manager Console' just press red square button inside that window.