TidGi-Desktop/template
tiddlygit-test 47555bc161 fix: relative path from electron is wrong for watch-fs in worker_thread
Now we use arg from $tw.boot.wikiTiddlersPath to solve this, which is get from workspace.

And fixes the `Cannot find module named 'fs' required by module , resolved to fs` error
which is caused by not setting

```js
if (typeof $tw === 'undefined' || !$tw?.node) return;
```

And add this, maybe is useful


```js
  exports.name = 'watch-fs_FileSystemMonitor';
  exports.after = ['load-modules', 'watch-fs_watch'];
  exports.platforms = ['node'];
  exports.synchronous = true;
```
2020-08-08 21:41:48 +08:00
..
wiki fix: relative path from electron is wrong for watch-fs in worker_thread 2020-08-08 21:41:48 +08:00