New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Rewatch files on change event #1963
Conversation
Allowing both end-points of slices to be implicit.
Seperated Books and Screencasts and added Code School course
… immutable between loop iterations
fixes #1910: loop index should be mutable within a loop iteration and immutable between loop iterations
Uhh, not sure why all those extra commits got added to this pull req... only the last two are relevant. Sigh. |
I think you got this pull request mixed up with some other changes? |
It's a very small change; might be easier to do it manually on your end, Jeremy. It's just replacing
with
|
Don't you need to wait before the recompile, on renames? |
There's already a 25ms delay between Actually, a bigger concern is that when the |
Migrated to #1964. |
See discussion at #1853. Somehow, at least one application (the TextMate 2 alpha) is saving files in such a way that a single
change
event is emitted—and then the file no longer emits events, as if it had been deleted. My hunch is that thechange
event is somehow shadowing arename
event.It's unclear whose bug this really is. Maybe it's something that can be fixed in
fs.watch
? Or maybe TM2 is doing something it shouldn't do? But we can work around it by re-watching files on everychange
, just as we re-watch them on everyrename
. With this patch,coffee --watch
treats all file events as synonymous, hopefully giving us more consistent behavior.