how to make Gulp stop watching files
Solution 1:
It's not a gulp thing. Gulp is just running as a never ending process.
The way to abort a process is Ctrl+C.
Solution 2:
According the official document. you can using returned stream
method to stop it.
let watchStream = gulp-watch(paths, function(){})
watchStream.close()