@olegjs/on-change

1.0.5 • Public • Published

on-change

Run a command when a file changes since last time the command was executed.

This CLI tool stores a file checksum in a hidden sha file every time it run a given command. Made to automate running npm ci after pulling modified package-lock.json.

Install

npm install --save-dev @olegjs/on-change

Example

npx on-change --file package-lock.json npm ci

Install

Version

1.0.5

License

ICS

Unpacked Size

3.02 kB

Total Files

4

Last publish

Collaborators

  • olegjs