5HT / fs

📁 FS: Windows, Linux, Mac Driver
https://fs.n2o.dev
Other
237 stars 69 forks source link

Consider providing a high-level set of events. #35

Open zorbash opened 7 years ago

zorbash commented 7 years ago

We currently depend on fs for the following part of our application.

https://github.com/kittoframework/kitto/blob/master/lib/kitto/code_reloader.ex#L38

As you can see, we perform an action when the user creates or changes a file, another action when a file is deleted and so on. For each of the actions we wish to perform (unless there's another way to do it), we currently bind to platform specific events. I'd be nice if there was a set of platform independent set of events.