Quantcast
Channel: Active questions tagged visual-studio-code - Stack Overflow
Viewing all articles
Browse latest Browse all 98538

watch src dir for changes then run npm script passing the filename and relative path

$
0
0

I have a node script and I would like to run it passing the filename/path that just changed. I figured that you can watch files with nodemon or npm watch.

But I could not find anything about how to the the file that just changed to the script. Or I probably did not understand.

Anyone can help with that?


Viewing all articles
Browse latest Browse all 98538

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>