aboutsummaryrefslogtreecommitdiffstats
path: root/watchr-docs.rb
blob: 239ac675e54d7af85874d9d8927248b1f68ff040 (plain)
1
2
3
4
5
6
7
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/|^docs/' )  do
   %x{ echo "\n\ndoc run started @ `date`" > logs/docs.log; node docs/src/gen-docs.js &> logs/docs.log & }
end