Sha256: 2678b079a6091bbadfd9d3d25564acd1df8c6b3d33e793ce89861c0aa6d8e690

Contents?: true

Size: 503 Bytes

Versions: 32

Compression:

Stored size: 503 Bytes

Contents

#!/usr/bin/env watchr

# 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

log_file = File.expand_path(File.dirname(__FILE__) + '/../logs/jstd.log')

`cd ..`
`touch #{log_file}`

puts "String watchr... log file: #{log_file}"

watch( '(app/js|test/unit)' )  do
  `echo "\n\ntest run started @ \`date\`" > #{log_file}`
  `scripts/test.sh &> #{log_file}`
end

Version data entries

32 entries across 32 versions & 3 rubygems

Version Path
mongo_request_logger-0.8.0 angular/scripts/watchr.rb
mongo_request_logger-0.7.0 angular/scripts/watchr.rb
mongo_request_logger-0.6.0 angular/scripts/watchr.rb
motion-juxtapose-0.3.2 lib/juxtapose/application/scripts/watchr.rb
mongo_request_logger-0.5.0 angular/scripts/watchr.rb
motion-juxtapose-0.3.1 lib/juxtapose/application/scripts/watchr.rb
motion-juxtapose-0.3.0 lib/juxtapose/application/scripts/watchr.rb
motion-juxtapose-0.2.0 lib/juxtapose/application/scripts/watchr.rb
mongo_request_logger-0.4.0 angular/scripts/watchr.rb
mongo_request_logger-0.3.1 angular/scripts/watchr.rb
mongo_request_logger-0.3.0 angular/scripts/watchr.rb
motion-juxtapose-0.1.1 lib/juxtapose/application/scripts/watchr.rb
motion-juxtapose-0.1.0 lib/juxtapose/application/scripts/watchr.rb
collection-json-browser-0.0.11 test/javascripts/scripts/watchr.rb
collection-json-browser-0.0.10 test/javascripts/scripts/watchr.rb
collection-json-browser-0.0.9 test/javascripts/scripts/watchr.rb
collection-json-browser-0.0.8 test/javascripts/scripts/watchr.rb
collection-json-browser-0.0.7 test/javascripts/scripts/watchr.rb
collection-json-browser-0.0.6 test/javascripts/scripts/watchr.rb
collection-json-browser-0.0.5 test/javascripts/scripts/watchr.rb