Add a module which sets a interval or opens a connection.
npm run build
That Nuxt.js will finish building (so CI will continue)
Build keeps hanging
Would be nice if Nuxt will close the process after building, as it always has done.
Although intervals are cleared easily, modules will be broken. Connections should be opened and tested on build (in dev mode at least), otherwise it would be quite annoying for module users to wait for finishing building in order to receive errors about incorrect credentials.
It won't be possible to add server middleware at the
listen hook. So a module like nuxt-session will not be possible. Because it needs a open connection (to Redis for example) before the middleware is added.