Permalink
Browse files

fix rerun to work into vagrant vm (nfs sync)

  • Loading branch information...
ctrlok committed Jan 2, 2015
1 parent db85618 commit 7dc85d964f32cd9ec18b73efdd9c9e59b25c4208
Showing with 1 addition and 1 deletion.
  1. +1 −1 lib/rerun/watcher.rb
@@ -60,7 +60,7 @@ def start
end

@thread = Thread.new do
@listener = Listen.to(*@directories, only: watching, ignore: ignoring, wait_for_delay: 1) do |modified, added, removed|
@listener = Listen.to(*@directories, only: watching, ignore: ignoring, force_polling:true, wait_for_delay: 1) do |modified, added, removed|
if((modified.size + added.size + removed.size) > 0)
@client_callback.call(:modified => modified, :added => added, :removed => removed)
end

0 comments on commit 7dc85d9

Please sign in to comment.