run-if-modified

1.0.3 • Public • Published

run-if-modified

The idea for this project came up with the need to create a code build only if a file becomes modified. This way, it is possible to reduce the compilation and transpilation time considerably.

TL-DR

$ rim -h
Usage: rim -s '.cache' -m '**/*.svg' npm run build-svg

Options:
  -V, --version            output the version number
  -m, --minimatch <match>  Files scanned for changes (default: "src/**/*.{tsx,ts,jsx,js,svg,html,css,scss,less}")
  -s, --snapshot <file>    Snapshot files (default: ".run-on-diff.cache.json")
  -h, --help               display help for command

License

Read the license MIT by clicking here

Package Sidebar

Install

npm i run-if-modified

Weekly Downloads

0

Version

1.0.3

License

MIT

Unpacked Size

3.92 kB

Total Files

4

Last publish

Collaborators

  • lfamorim