Closed zaggino closed 10 years ago
instead of documentSaved event you could use:
FileSystem.on("change", function (evt, file) { ... });
this event fires on every file change, doesn't matter if the change came from documentSaved event or an external source which was detected by watching the files
That sounds a lot better. Will have to try it out. Thanks!
Started using this and it's a lot cleaner than before. Thank you @zaggino!
:+1:
instead of documentSaved event you could use:
this event fires on every file change, doesn't matter if the change came from documentSaved event or an external source which was detected by watching the files