updated watch file

This commit is contained in:
brianc 2010-09-30 00:36:11 -05:00
parent 7a5ea00995
commit d852f7f1c4

View File

@ -1,12 +1,16 @@
#watch file #watch file
watch('lib/(.*)\.js') { |md| def run_parser_tests
system('echo "lib changed"') system("node test/parser-tests.js")
}
watch('test/(.*)\.js') { |md|
system("node #{md}")
puts "" puts ""
puts("waiting...") puts("waiting...")
puts "" puts ""
end
watch('lib/(.*)\.js') { |md|
run_parser_tests
}
watch('test/(.*)\.js') { |md|
run_parser_tests
} }