mirror of
https://github.com/brianc/node-postgres.git
synced 2025-12-08 20:16:25 +00:00
updated watch file
This commit is contained in:
parent
7a5ea00995
commit
d852f7f1c4
16
watch.rb
16
watch.rb
@ -1,12 +1,16 @@
|
||||
#watch file
|
||||
|
||||
watch('lib/(.*)\.js') { |md|
|
||||
system('echo "lib changed"')
|
||||
}
|
||||
|
||||
watch('test/(.*)\.js') { |md|
|
||||
system("node #{md}")
|
||||
def run_parser_tests
|
||||
system("node test/parser-tests.js")
|
||||
puts ""
|
||||
puts("waiting...")
|
||||
puts ""
|
||||
end
|
||||
|
||||
watch('lib/(.*)\.js') { |md|
|
||||
run_parser_tests
|
||||
}
|
||||
|
||||
watch('test/(.*)\.js') { |md|
|
||||
run_parser_tests
|
||||
}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user