I think you need to use https://github.com/paulmillr/chokidar. I would suggest copying the existing sync adapter code - you can rename it as '$:/plugins/'me'/filesystem and have you own plugin or do a pull request to include your changes in the existing plugin
cheers BJ On Wednesday, September 2, 2015 at 11:00:24 PM UTC+1, Ben H. wrote: > > On Wednesday, September 2, 2015 at 1:42:32 PM UTC-7, Danielo Rodríguez > wrote: >> >> I'm not sure what do you mean, since I don't know the modules you are >> mentioning. But, one of the strengths of TW is that it operates both on >> server and browser. So you can create a plugin that runs on the node side >> wrapping any node module of your choice. > > > Eh, I didn't really want to turn it into a whole new plugin, just add it > to the current filesystemadapter plugin. But fs.watch has finicky behavior, > so most use a module to wrap it and make it behave. I didn't think it would > be a great idea to introduce an external dependency to a plugin that ships > with TW by default, but building an entire plugin around such a simple > module just to extend an entirely different plugin seems like a complicated > mess. > > Any ideas? > -- You received this message because you are subscribed to the Google Groups "TiddlyWiki" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send email to [email protected]. Visit this group at http://groups.google.com/group/tiddlywiki. To view this discussion on the web visit https://groups.google.com/d/msgid/tiddlywiki/20057af9-81ad-4866-b429-d8bff2d23ecc%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.

