mirror of
https://github.com/tiddly-gittly/TidGi-Desktop.git
synced 2026-01-14 21:31:46 -08:00
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; ``` |
||
|---|---|---|
| .. | ||
| wiki | ||