Skip to content
This repository has been archived by the owner on May 28, 2021. It is now read-only.

Nodemon restart takes 1-2 minutes #32

Closed
fizerkhan opened this issue Mar 18, 2017 · 2 comments
Closed

Nodemon restart takes 1-2 minutes #32

fizerkhan opened this issue Mar 18, 2017 · 2 comments
Labels

Comments

@fizerkhan
Copy link
Contributor

fizerkhan commented Mar 18, 2017

Everytime I make changes, the node server restarts through nodemon service and then UI reloads. But I have to wait around 1-2 minutes to server to come back as well as UI reload.

This is become cumbersome when making small changes during development. Is there any way to reduce the restart time? Because it is affecting my productivity too much.

@icebob
Copy link
Owner

icebob commented Mar 20, 2017

JS files separated to two parts. server and clients. If you modify server codes nodemon restart server. But when restarting, client-side websocket disconnected. After server restart, the websocket will be established, and will refresh page. You can turn off this full page refresh in App.vue

@fizerkhan
Copy link
Contributor Author

@icebob Thanks. I will try.

@icebob icebob closed this as completed Mar 25, 2017
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

No branches or pull requests

2 participants