1
0
mirror of https://github.com/Jermolene/TiddlyWiki5 synced 2024-12-24 17:10:29 +00:00

Temporarily disable the filewatcher functionality

It's currently broken, awaiting a fix from @natecain
This commit is contained in:
Jeremy Ruston 2013-10-29 14:47:18 +00:00
parent 371c8ab45a
commit c4d5b803ef

View File

@ -23,6 +23,7 @@ function FileSystemAdaptor(syncer) {
this.pending = {};
this.setwatcher = function(filename, title) {
return undefined;
return this.watchers[filename] = this.watchers[filename] ||
fs.watch(filename, {persistent: false}, function(e) {
console.log("Filesystem:", e, filename);