From eae266365bd50d0991a27fc33786a19c53f6915b Mon Sep 17 00:00:00 2001 From: hiroki osame Date: Fri, 11 Nov 2022 22:12:31 -0500 Subject: [PATCH] fix(watch): remove `dist` from ignore (#141) --- src/watch/index.ts | 3 --- tests/specs/watch.ts | 2 +- 2 files changed, 1 insertion(+), 4 deletions(-) diff --git a/src/watch/index.ts b/src/watch/index.ts index 29a4bf42..0be68172 100644 --- a/src/watch/index.ts +++ b/src/watch/index.ts @@ -146,9 +146,6 @@ export const watchCommand = command({ // 3rd party packages '**/{node_modules,bower_components,vendor}/**', - // Distribution files - '**/dist/**', - ...options.ignore, ], ignorePermissionErrors: true, diff --git a/tests/specs/watch.ts b/tests/specs/watch.ts index 69105889..088d4c67 100644 --- a/tests/specs/watch.ts +++ b/tests/specs/watch.ts @@ -194,7 +194,7 @@ export default testSuite(async ({ describe }, fixturePath: string) => { expect(tsxProcessResolved.stdout).not.toMatch(`${value} ${value}`); expect(tsxProcessResolved.stderr).toBe(''); - }, 5000); + }, 10_000); }); }); });