Skip to content
A minimal shell script that executes a given command each time a specified file or directory changes
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Failed to load latest commit information.

What is it?

change-execute-loop is a minimal shell script that runs a specific command (or several commands) whenever a given file or directory changes.

This program aims to be as simple as possible, and independent from any other software, may it be an OS or a tool (such as inotify).


Simply get the cel executable and add it to your path.

For example:

curl > ~/apps/cel
ln -s ~/apps/cel /usr/local/bin


cel foo.c "gcc foo.c && ./a.out"
cel . cat file.txt

Notice using double quotes in the first example; without them, only gcc foo.c will be executed.

Something went wrong with that request. Please try again.