vigilia

simple command line tool to watch and trigger multiple combinations of paths and commands

Usage no npm install needed!

<script type="module">
  import vigilia from 'https://cdn.skypack.dev/vigilia';
</script>

README

Vigilia

from the latin vigilia /wiˈɡi.li.a/, watch.

simple command line tool to watch and trigger multiple combinations of paths and commands.

Build Status Downloads Gitter

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