winton / stasis

Static sites made powerful
http://stasis.me
MIT License
679 stars 56 forks source link

Add rb-fsevent support #69

Closed phallstrom closed 11 years ago

phallstrom commented 11 years ago

Added support to use rb-fsevent gem if it's installed. This will use OSX's fileevent API so stasis (via directorywatcher) doesn't have to poll the file system.

mschae commented 11 years ago

This PR is in conflict with my #85

I personally prefere doing it the platform (and gem) agnostic way but I'm open to suggestions.

phallstrom commented 11 years ago

@mschae If there's a better way to do it that's totally fine with me. I'll close this out so we can focus.

mschae commented 11 years ago

@phallstrom Thanks. Winton is taking a look at my PR right now. I am fairly sure that using listen will adress your suggestion as well, it uses rb-fsevent on Darwin systems internally:

https://github.com/guard/listen/blob/master/listen.gemspec#L18