Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

When config fails to load and user is running in dev mode keep the process running and wait for the user to fix the config #2496

Closed
capaj opened this issue Mar 13, 2021 · 0 comments · Fixed by #2510
Labels
enhancement New feature or request

Comments

@capaj
Copy link

capaj commented Mar 13, 2021

Is your feature request related to a problem? Please describe.
When I develop I often tweak the config and I keep having to restart the vite process just because I forgot a comma

Describe the solution you'd like
The vite process keeps running and prints out the parsing error

Describe alternatives you've considered
running with nodemon? Nah that would be crazy

Additional context
please keep the current behaviour for prod builds on CI envs
This is the current CLI output:

8:58:07 AM [vite] config or .env file changed, restarting server...
failed to load config from /home/capaj/oss/vite-lingui-poc/vite.config.ts
@patak-dev patak-dev added the enhancement New feature or request label Mar 13, 2021
@github-actions github-actions bot locked and limited conversation to collaborators Jul 16, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants