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.
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.