skip to navigation
skip to content

when-changed 0.2.1

Run a command when a file is changed


Run a command when a file is changed

~ What is it?

Tired of switching to the shell to test the changes you just made to your code? Starting to feel like a mindless drone, manually running pdflatex for the 30th time to see how your resume now looks?

Worry not, when-changed is here to help! Whenever it sees that you have changed the file, when-changed runs any command you specify.

So to generate your latex resume automatically, you can do this:

$ when-changed CV.tex pdflatex CV.tex


~ What do I need?

Python 2.6+ pyinotify

~ Installation

pip install

~ Usage

when-changed FILE COMMAND… when-changed FILE [FILE …] -c COMMAND
File Type Py Version Uploaded on Size
when-changed-0.2.1.tar.gz (md5, pgp) Source 2014-04-21 2KB
  • Downloads (All Versions):
  • 7 downloads in the last day
  • 43 downloads in the last week
  • 227 downloads in the last month