Static GitHub Issues

[60] Development server crashes if `nuxt.config.js` becomes invalid

prev: Server-Side Data
next: '.vue' file extension does not automatically resolve for component imports.

If the configuration file change during the execution of the development server, it automatically aplies the new configuration, but if the file becomes invalid (a missing comma or semicolon, we all do that sometimes!) the server crashes, needing to be restarted (after fixing the file).

When running a development server, I don't expect it to crash for any reason, no matter what happens the server should only display an error message and wait until things go back normal.

<!--cmty--><!--cmty_prevent_hook--><div align="right"><sub><em>This feature request is available on <a href="https://nuxtjs.cmty.io">Nuxt.js</a> community (<a href="https://nuxtjs.cmty.io/nuxt/nuxt.js/issues/c44">#c44</a>)</em></sub></div>