knewter / markdown_server

1 stars 1 forks source link

Alternative to inotify on os x? #1

Open cheeyeo opened 10 years ago

cheeyeo commented 10 years ago

Hi

I have been following your tutorial up till episode 49 for markdown server whereupon inotify was used. Being on OS X, the closest I come to is FSEvents but I cant seem to find suitable plugins for FSEvents for elixir on os x?

Can you recommend some and perhaps help to fill the gap for us OS X users? :) thanks

knewter commented 10 years ago

You might try this out: https://github.com/proger/erlfsmon

You can use it just as you use other erlang tools from elixir. Something like Erlang's erlfsmon:subscribe() translates to :erlfsmon.subscribe() in Elixir

Helpful? Patches welcome! :D

On Fri, Feb 21, 2014 at 9:19 AM, Chee Yeo notifications@github.com wrote:

Hi

I have been following your tutorial up till episode 49 for markdown server whereupon inotify was used. Being on OS X, the closest I come to is FSEvents but I cant seem to find suitable plugins for FSEvents for elixir on os x?

Can you recommend some and perhaps help to fill the gap for us OS X users? :) thanks

Reply to this email directly or view it on GitHubhttps://github.com/knewter/markdown_server/issues/1 .

Josh Adams CTO | isotope|eleven http://www.isotope11.com cell 215-3957 work 476-8671 x201

octosteve commented 8 years ago

Old, but you can also use what Phoenix uses for livereload https://hex.pm/packages/fs