M-Zuber / npm-watch

run npm scripts when files change
MIT License
323 stars 38 forks source link

Use the path of the changed file as a parameter for npm script #58

Open ackvf opened 5 years ago

ackvf commented 5 years ago

Can I get the path of the changed file and pass it as a parameter to the npm script?

M-Zuber commented 5 years ago

This is something that be good to have but I am unsure if it can be supported with how we are currently using nodemon.

I will leave this open but labeled as accepted for a future release