How do I watch a file for changes using JS/Gnome Shell?

Hi all,

i have a configuration file written by a little python interface. I want to watch for changes of config file in gnome shell extension.
Each time a change occurs I'd like to reload new data in my extension.

What's the best way to do this?

If anyone's done anything like this I'd be really grateful to hear how...


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]