Skip to content
Commits on Jun 11, 2012
  1. Tidy up whitespace

    committed
  2. Exit on keyboard interrupt

    committed
  3. Add quiet option

    committed
  4. Use optparse module, change in usage, accept command on stdin

    committed
    The optparse module is now used for option parsing which makes the command line syntax a little more intuitive and flexible. The old usage pattern
    	when-changed.py <file> <command>
    is no longer supported, but instead the command is accepted as standard input, so the same command line can be written as
    	when-changed.py <file> <<<"<command>"
    or
    	echo "<command>" | when-changed.py <file>
    
    The -c option still exists (and now a long version, --command, too).
    
    If -c is not used and standard input is a tty, a prompt is given to show that when-changed is expecting standard input.
Commits on Nov 21, 2011
  1. @joh

    Place it under a BSD License!

    joh committed
Commits on Jun 30, 2011
  1. @joh

    Tell the user what we're doing

    joh committed
  2. @joh

    Now supports multiple files!

    joh committed
Commits on Jan 31, 2011
  1. @joh
  2. @joh

    Run the command, add README

    joh committed
  3. @joh
Something went wrong with that request. Please try again.