leonidas/james.js — pull request #16 by japsu (2013-06-22 16:46:49+00:00)
Title: Shorthand forms for james.watch

Implemented the two following shorthand forms for james.watch. Tests included.

// Run the named task when the watched file changes
james.watch('test/**/*.js', 'foo');

// Run the listed tasks when the watched file changes
james.watch('test/**/*.js', ['foo', 'bar']);