vigilia
v1.0.0
Published
simple command line tool to watch and trigger multiple combinations of paths and commands
Downloads
10
Maintainers
Readme
from the latin vigilia /wiˈɡi.li.a/, watch.
simple command line tool to watch and trigger multiple combinations of paths and commands.
Usage
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.
Options
-h
--help
show vigilia's man page-v
--version
show vigilia's version