Make rake test:js:dev use the coffeescript watcher so that changes are immediately testable

This commit is contained in:
Calen Pennington
2013-10-17 16:38:48 -04:00
parent ce6fbae693
commit 61a0319761

View File

@@ -63,7 +63,7 @@ namespace :'test:js' do
end
desc "Run the JavaScript tests in your default browser"
task :dev, [:env] => [:clean_test_files, :'assets:coffee'] do |t, args|
task :dev, [:env] => [:clean_test_files, :'assets:coffee:_watch'] do |t, args|
if args[:env].nil?
puts "Error: No test suite specified. Try one of these instead:"
print_js_test_cmds('dev')