-
Notifications
You must be signed in to change notification settings - Fork 101
Closed
Labels
Description
Environment
Nuxt project info:
- Operating System: Windows_NT
- Node Version: v20.18.0
- Nuxt Version: 3.14.1592
- CLI Version: 3.16.0
- Nitro Version: 2.10.4
- Package Manager: yarn@1.22.22
- Builder: -
- User Config: default
- Runtime Modules: -
- Build Modules: -
Reproduction
This issue does not happen in StackBlitz, maybe "Windows only"?
See description below for steps to reproduce.
Describe the bug
- new nuxt project
- create an
.envfile - start dev server
- change and save the
.envfile
Server restart logs unhandled promise rejection, see below
Does not happen when changing e.g. the nuxt.config.ts file.
Additional context
No response
Logs
ℹ .env changed, restarting server...
ERROR [unhandledRejection] kill ENOSYS
at ChildProcess.kill (node:internal/child_process:509:13)
at kill (.../example-nuxt/node_modules/nuxi/dist/chunks/dev.mjs:251:17)
at restart (.../example-nuxt/node_modules/nuxi/dist/chunks/dev.mjs:256:5)
at ChildProcess.<anonymous> (.../example-nuxt/node_modules/nuxi/dist/chunks/dev.mjs:285:9)
at ChildProcess.emit (node:events:519:28)
at emit (node:internal/child_process:951:14)
at process.processTicksAndRejections (node:internal/process/task_queues:83:21)
ℹ server restarted.