mirror of
https://github.com/zhigang1992/angular.js.git
synced 2026-01-12 22:45:52 +08:00
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.
8 lines
223 B
Ruby
8 lines
223 B
Ruby
# config file for watchr http://github.com/mynyml/watchr
|
|
# install: gem install watchr
|
|
# run: watch watchr-docs.rb
|
|
|
|
watch( '^src/|^docs/' ) do
|
|
system 'echo "\n\ndoc run started @ `date`"; node docs/src/gen-docs.js'
|
|
end
|