npm install watchexec-bin
An absolute path to the installed watchexec binary, which can be used with
const spawn = ;const watchexec = ;;
Once this package is installed to the project directory, users can execute
watchexec command inside npm scripts of the project.
"watch-js": "watchexec --ext js eslint ."
$ npm run-script watch-js
ISC License © 2018 Shinnosuke Watanabe
Apache License 2.0 © 2016 Matt Green