From d145f7290bb3603aec3a920dfb51323826092eeb Mon Sep 17 00:00:00 2001 From: SukkaW Date: Wed, 11 May 2022 12:17:03 +0800 Subject: [PATCH] fix: `nextbuild` task watch list --- packages/next/taskfile.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/next/taskfile.js b/packages/next/taskfile.js index 954d10212ef8..ceeedfd0a089 100644 --- a/packages/next/taskfile.js +++ b/packages/next/taskfile.js @@ -1913,7 +1913,7 @@ export default async function (task) { await task.watch('bin/*', 'bin', opts) await task.watch('pages/**/*.+(js|ts|tsx)', 'pages', opts) await task.watch('server/**/*.+(js|ts|tsx)', 'server', opts) - await task.watch('build/(!jest)/**/*.+(js|ts|tsx)', 'nextbuild', opts) + await task.watch('build/**/*.+(js|ts|tsx)', 'nextbuild', opts) await task.watch('build/jest/**/*.+(js|ts|tsx)', 'nextbuildjest', opts) await task.watch('export/**/*.+(js|ts|tsx)', 'nextbuildstatic', opts) await task.watch('client/**/*.+(js|ts|tsx)', 'client', opts)