adding watchr-docs.rb

This commit is contained in:
Igor Minar 2010-11-02 09:27:16 -07:00
parent 5159eb7635
commit 96abeb1074

8
watchr-docs.rb Normal file
View file

@ -0,0 +1,8 @@
# 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/' ) do
%x{ echo "\n\ndoc run started @ `date`" > logs/docs.log; node docs/collect.js &> logs/docs.log & }
end