sunng87 / handlebars-iron

Handlebars middleware for Iron web framework
MIT License
119 stars 20 forks source link

Watching is unreliable #10

Closed chris-morgan closed 8 years ago

chris-morgan commented 9 years ago

Quite often (perhaps half the time) watch() is missing instances of me saving files. If I save it again, then it normally (but still not quite always) works.

sunng87 commented 9 years ago

@chris-morgan Thanks for reporting, Chris. This issue does exist. I may need some time to investigate because currently I'm working on refactoring handlebars-rust library. Will keep you updated.

By the way, what editor do you use? Does it write anything in the working directory like vim and emacs?

chris-morgan commented 9 years ago

I use Vim, but I don’t have swap files turned on, so it shouldn’t be writing anything but the actual file.

sunng87 commented 8 years ago

@chris-morgan I cannot reproduce this issue any more except on emacs (which has a known issue with rsnotify). I will close this for now. Feel free to reopen if it still happens to you .