Skip to content

Repository files navigation

watching-directory

Watch directory and run command if there is changes.

Project Setup & Commands

Install required library

npm install

Build the files

npm run build

Run the program

npm start -d <<directory>>

For example

node . -d examples -c "ls"

Features

Success execution of command

If the command run successfully, it will output a "success" sound with green message.

success

Error execution of command

If the command did not run successfully, it will output a "error" sound with red message.

error

Hommage

This idea cames from watching James Shore's lunch and learn Youtube series.

About

Watch directory and run command if there is changes

Resources

Stars

0 stars

Watchers

1 watching

Forks

Releases

Packages

Used by

Contributors

Languages