picosam
01/22/2018, 3:39 PMnodemon
?divyendu
01/22/2018, 3:47 PM"start": "nodemon src/index.js",
Is this what you were looking for? More context?picosam
01/22/2018, 3:48 PMyarn dev
I get Error: listen EADDRINUSE :::4000
picosam
01/22/2018, 3:50 PMdotenv -- nodemon -e ts,graphql -x ts-node src/index.ts
actuallydivyendu
01/22/2018, 4:25 PMps aux | grep "src/index.js" | grep -v grep | awk '{print $2}' | xargs kill -9
Adjust the command acc. to you env or send me output of netstat -an | grep 4000
to see what is running on 4000 portpicosam
01/22/2018, 4:30 PMps aux | grep "src/index.js" | grep -v grep | awk '{print $2}'
actually returns nothingpicosam
01/22/2018, 4:31 PMnetstat -an | grep 4000
returns the following:picosam
01/22/2018, 4:31 PMtcp6 0 0 ::1.4000 ::1.60732 ESTABLISHED
tcp6 0 0 ::1.60732 ::1.4000 ESTABLISHED
tcp46 0 0 *.4000 *.* LISTEN
picosam
01/22/2018, 4:31 PMdivyendu
01/22/2018, 4:58 PMpicosam
01/22/2018, 4:59 PMpicosam
01/22/2018, 4:59 PMdivyendu
01/22/2018, 5:05 PM