Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
A minimal shell script that executes a given command each time a specified file or directory changes
Shell
branch: master

Fetching latest commit…

Cannot retrieve the latest commit at this time

Failed to load latest commit information.
README.md
cel

README.md

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

Installation

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

For example:

curl https://raw.githubusercontent.com/Dinduks/change-execute-loop/master/cel > ~/apps/cel
ln -s ~/apps/cel /usr/local/bin

Use

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.