App build crashes when dev server is running. It will be good if error is handled by checking if dev server is running before build #75095
Labels
create-next-app
Related to our CLI tool for quickly starting a new Next.js application.
Link to the code that reproduces this issue
https://github.com/Farzzn/testing-app
To Reproduce
Create application
Run dev server
Run Next Build (in another terminal)
Current vs. Expected behavior
If someone tries to run build commond when dev server is running, he should be prompted that dev server is running. Now it is showing compile error. The error should be handled.
Provide environment information
Which area(s) are affected? (Select all that apply)
create-next-app
Which stage(s) are affected? (Select all that apply)
next build (local)
Additional context
No response
The text was updated successfully, but these errors were encountered: