Environment
- Node - v20.18.1
- Npm - 10.8.2
- Nitropack - 2.10.4
Reproduction
- Open Stackblitz
- Run
npx nuxi generate
- Open
dist/nitro.json
Describe the bug
Due to the fact that the command npx serve ./public is generated instead of npx serve ./, npx nuxi preview does not work correctly and the server does not start.
Is it possible to change preview command to npx serve ./ when output.publicDir option is set?
Additional context
No response
Logs
No response
Environment
Reproduction
npx nuxi generatedist/nitro.jsonDescribe the bug
Due to the fact that the command
npx serve ./publicis generated instead ofnpx serve ./,npx nuxi previewdoes not work correctly and the server does not start.Is it possible to change preview command to
npx serve ./whenoutput.publicDiroption is set?Additional context
No response
Logs
No response