refactor file change api, add a disable-watcher command line option for heroku/hosted

This commit is contained in:
Thomas Reynolds 2012-01-02 13:48:07 -08:00
parent 3d3e9e2f5b
commit 20fea1bab1
9 changed files with 126 additions and 68 deletions

View file

@ -9,9 +9,9 @@ Then /^the file "([^\"]*)" is removed$/ do |path|
end
Then /^the file "([^\"]*)" did change$/ do |path|
@server_inst.file_did_change(path)
@server_inst.files.did_change(path)
end
Then /^the file "([^\"]*)" did delete$/ do |path|
@server_inst.file_did_delete(path)
@server_inst.files.did_delete(path)
end