@olegjs/on-change

1.0.6 • Public • Published

on-change

CLI tool to run a command if file has changed since the last time that command was run.

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.6

License

ISC

Unpacked Size

3.09 kB

Total Files

5

Last publish

Collaborators

  • olegjs