jlongster/backend-with-webpack

Some problem with server restart

paveleremin opened this issue · 2 comments

Hello @jlongster,
I'm have interest to this project, but I can't launch it. I got error after update backend code:

Listening on port 4000...
Error: listen EADDRINUSE :::4000

seems some problem with this line in src/main.js:

server.listen(4000);

so nodemon.restart(); in Gulpfile not work correctly, can you help me with it?

This happens for me too.
The server does start, and it does compile successfully. and if I change app.js, the server tries to restart but it returns Error: listen EADDRINUSE:::4000