Permalink
Switch branches/tags
Nothing to show
Commits on Jun 11, 2012
  1. Tidy up whitespace

    tremby committed Jun 11, 2012
  2. Exit on keyboard interrupt

    tremby committed Jun 11, 2012
  3. Add quiet option

    tremby committed Jun 11, 2012
  4. Use optparse module, change in usage, accept command on stdin

    tremby committed Jun 11, 2012
    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. Place it under a BSD License!

    joh committed Nov 21, 2011
Commits on Jun 30, 2011
  1. Tell the user what we're doing

    joh committed Jun 30, 2011
  2. Now supports multiple files!

    joh committed Jun 30, 2011
Commits on Jan 31, 2011
  1. Run the command, add README

    joh committed Jan 31, 2011