aboutsummaryrefslogtreecommitdiffstats
path: root/watchr.rb
diff options
context:
space:
mode:
authorIgor Minar2011-10-30 15:13:22 -0700
committerIgor Minar2011-10-31 11:34:25 -0700
commit95fdb1231f21254f9cf6e68dcee689fb9e3a2b52 (patch)
tree31cb25a3dab7c1e60c5d75e7994f90ebebffe3bb /watchr.rb
parentef875ad0cf4349144cb4674e050dd160564f6dd9 (diff)
downloadangular.js-95fdb1231f21254f9cf6e68dcee689fb9e3a2b52.tar.bz2
chore(watchr): watchr scripts should output logs to terminal
Having the extra level of indirection by using logs/*.log file only makes it more difficult to use these scripts. After this change it will be enough to just start the watchr and watch the terminal it was started in.
Diffstat (limited to 'watchr.rb')
-rw-r--r--watchr.rb3
1 files changed, 1 insertions, 2 deletions
diff --git a/watchr.rb b/watchr.rb
index 25aaa01c..c746d7bb 100644
--- a/watchr.rb
+++ b/watchr.rb
@@ -4,6 +4,5 @@
# 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 & }
+ system 'echo "\n\ntest run started @ `date`"; ./test.sh '
end