jashkenas/coffee-script — Issue #1941: Enhance --watch to pick up new files...
Author: jashkenas
Created: 2011-12-16 18:44:57+00:00
State: open

With all of our `--watch` troubles these days, I'm reconsidering our old stance of only listening to the files you've passed in.

Since it seems like we're going to be stuck with filesystem polling, and not true FS events for the foreseeable future, due to the `fs.watch` bugs ... perhaps we should start a second, slower poll against the directory, and allow the compiler to pick up new files shortly after they're first added. Perhaps once every 5 seconds?