fix: don't call fs.watch
if watch
is disabled
#227
Annotations
2 errors
Test unit:
packages/vite/src/node/server/__tests__/watcher.spec.ts#L24
AssertionError: expected 'add() {\n return this;\n }' to match /function\(\)\s*\{\s*return this;\s*\}/
- Expected:
/function\(\)\s*\{\s*return this;\s*\}/
+ Received:
"add() {
return this;
}"
❯ packages/vite/src/node/server/__tests__/watcher.spec.ts:24:43
|
Test unit
Process completed with exit code 1.
|
Loading