forked from angular/angular.js
-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
chore(watchr): watchr scripts should output logs to terminal
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.
- Loading branch information
Showing
2 changed files
with
3 additions
and
5 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,8 +1,7 @@ | ||
# 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 | ||
# run: watch watchr-docs.rb | ||
|
||
watch( '^src/|^docs/' ) do | ||
%x{ echo "\n\ndoc run started @ `date`" > logs/docs.log; node docs/src/gen-docs.js &> logs/docs.log & } | ||
system 'echo "\n\ndoc run started @ `date`"; node docs/src/gen-docs.js' | ||
end |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters