diff options
| author | Igor Minar | 2010-10-29 10:02:12 -0700 | 
|---|---|---|
| committer | Igor Minar | 2010-10-29 10:47:51 -0700 | 
| commit | d4839bac3288bbf97116bd0adf9d59637889dd9e (patch) | |
| tree | 5dd8a041f13ce3a6ee0d224c220f94417eb26631 | |
| parent | 602369c6a27923111aa5c3ecce8ac7316cd18ddd (diff) | |
| download | angular.js-d4839bac3288bbf97116bd0adf9d59637889dd9e.tar.bz2 | |
adding watchr config file watchr.rb
| -rw-r--r-- | watchr.rb | 9 | 
1 files changed, 9 insertions, 0 deletions
| diff --git a/watchr.rb b/watchr.rb new file mode 100644 index 00000000..25aaa01c --- /dev/null +++ b/watchr.rb @@ -0,0 +1,9 @@ +# config file for watchr http://github.com/mynyml/watchr +# install: gem install watchr +# run: watch watchr.rb +# note: make sure that you have jstd server running (server.sh) and a browser captured + +watch( '(src|test|example)/' )  do +   %x{ echo "\n\ntest run started @ `date`" > logs/jstd.log; ./test.sh &> logs/jstd.log & } +   %x{ echo "\n\nlint started @ `date`" > logs/lint.log; rake lint &> logs/lint.log & } +end | 
