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