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)