diff --git a/packages/next/cli/next-dev.ts b/packages/next/cli/next-dev.ts index 342df5be92115..36c8ea206e176 100755 --- a/packages/next/cli/next-dev.ts +++ b/packages/next/cli/next-dev.ts @@ -394,7 +394,7 @@ If you cannot make the changes above, but still want to try out\nNext.js v13 wit let server = bindings.turbo.startDev({ ...devServerOptions, showAll: args['--show-all'] ?? false, - rootDir: + root: args['--root'] ?? (turboJson ? path.dirname(turboJson)