Extremely fast file change detector and task orchestrator for Node.js.
Hi, I've been trying out turbowatch and I got a few errors and warn happening. ``` [13:31:42.461] info @turbowatch #TurboWatcher: using native ChokidarWatcher [13:31:42.463] 2ms error @turbowatch #turbowatch: Expected user script to export an instance of TurbowatchController ``` If you export default directly, it doesnt fix as it is a promise, if you try to await, it doesnt work, since it's not an ES Module. For warns there is the actual code errors and the warns which bloats everything in the logging, even with roarr helping make it clear. Can it be disabled? ``` [13:31:59.113] 2s error @turbowatch #createSpawn: task 37125237 exited with an error [13:31:59.113] 0ms warn @turbowatch #subscribe: build (37125237): routine produced an error error: name: Error message: Program exited with code 2. stack: """ Error: Program exited with code 2. at /app/node_modules/.pnpm/[email protected]/node_modules/turbowatch/dist/createSpawn.js:118:15 at async Object.onChange (/app/turbowatch.ts:26:7) at async runTask (/app/node_modules/.pnpm/[email protected]/node_modules/turbowatch/dist/subscribe.js:55:13) at async Object.trigger (/app/node_modules/.pnpm/[email protected]/node_modules/turbowatch/dist/subscribe.js:246:17) """ [13:31:59.113] 0ms warn @turbowatch #subscribe: build (37125237): task will not be retried; attempts exhausted [13:31:59.113] 0ms debug @turbowatch #subscribe: build (37125237): completed task [13:31:59.113] 0ms warn @turbowatch #subscribe: build (37125237): task failed error: name: Error message: Program exited with code 2. stack: """ Error: Program exited with code 2. at /app/node_modules/.pnpm/[email protected]/node_modules/turbowatch/dist/createSpawn.js:118:15 at async Object.onChange (/app/turbowatch.ts:26:7) at async runTask (/app/node_modules/.pnpm/[email protected]/node_modules/turbowatch/dist/subscribe.js:55:13) at async Object.trigger (/app/node_modules/.pnpm/[email protected]/node_modules/turbowatch/dist/subscribe.js:246:17) """ ``` The actual code errors are harder to read than the bloated task warns/errors.
This issue appears to be discussing a feature request or bug report related to the repository. Based on the content, it seems to be still under discussion. The issue was opened by dougg0k and has received 5 comments.