toothbrush/dotfs — Issue #9: dynamic updates
Author: sjoerdtimmer
Created: 2012-02-12 10:10:08+00:00
State: open
Labels: long term fancy inspirations

We should implement a way to dynamically update the config. This probably requires a large restructuring of the way dotfs works, since this probbly has to be done outside fuse.

There are two possible triggers for the update:
* the underlying dotfs file changed, wich could be detected using inotify if we can get that to work with haskell
* gconf changed the value that was used in this file

The update should do 2 things:
* trigger an inotify event on the fuse filesystem, which is probably tricky since inotify seems to be buggy in fuse, let alone hfuse...
* (optionally) restart the application that uses this config, this can be achieved by providing an onUpdate callback via the dotfs syntax.