angular.js/watchr-docs.rb

9 lines
332 B
Ruby
Raw Normal View History

2010-11-02 16:27:16 +00:00
# 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
2010-11-06 04:12:17 +00:00
watch( '^src/|^docs/' ) do
2010-11-02 16:27:16 +00:00
%x{ echo "\n\ndoc run started @ `date`" > logs/docs.log; node docs/collect.js &> logs/docs.log & }
end