after changing a file, run a command. Abandoned. Add an issue if you want to take over!
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Failed to load latest commit information.


After changing a file, run a command.

Let's say I want to run a build script every time I save a file in src/. I also want to scream every time you edit a forbidden file.

I'll make snackwrap.txt:

src/*           ./
forbidden.txt   echo "AUUUGHH!!"

Now, I run Snackwrap.

$ snackwrap

Now, every time I change a file in src/, I'll run And every time I edit forbidden.txt, I'll scream.

You can run Snackwrap in a few ways:

$ python
$ ./
$ # put somewhere in your PATH and type snackwrap

For more help:

$ snackwrap -h

Cool alternatives