You might need to switch to modular style, where you can pass a block
into `run!`, which I haven't tried but think would work for this.
Classic style apps don't give you this hook AFAIK.
i.e.
YourApp.run! do |server|
if EM.reactor_running?
EMDirWatcher.watch(".", :grace_period => 0.2) do |paths|
// files changed...
end
end
end