From the latin vigilia /wiˈɡi.li.a/, watch.
Simple command line tool to watch and trigger multiple combinations of paths and commands.
npm install vigilia --save-dev
In your makefile
or package.json
declare the files you want to watch and the command that shall be run whenever something changes:
vigilia [options] pattern:command ...
For example, in a package.json
:
{
"scripts": {
"scripts": "...",
"styles": "...",
"watch": "node_modules/vigilia/bin/vigilia 'scripts/**/*.js':'npm run scripts' 'styles/**/*.scss':'npm run styles'"
}
}
Then start it with:
npm run watch
See? No more grunt, gulp or even make if you wish.
-
-h
--help
Show vigilia's man page -
-v
--version
Show vigilia's version