Monitor changes in files and react to them in the way you need.
npm i -g harceli
- Create a harceli.config.json file in your project's directory. Example:
{
"watched": [
{
"files": ["exampleFile.js"],
"on_write": "echo test!"
},
{
"files": "test.js",
"on_write": "node path/to/epic/node_file.js"
}
]
}
- Run harceli
harceli
Now, everytime you change and save your watched files, the on_write command shall be evaluated.