Watch directory and run command if there is changes.
npm installnpm run buildnpm start -d <<directory>>For example
node . -d examples -c "ls"If the command run successfully, it will output a "success" sound with green message.
If the command did not run successfully, it will output a "error" sound with red message.
This idea cames from watching James Shore's lunch and learn Youtube series.

