mirror of
https://github.com/zhigang1992/angular.js.git
synced 2026-01-12 22:45:52 +08:00
9 lines
337 B
Ruby
9 lines
337 B
Ruby
# 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
|