You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I've needed this a couple of times when I've started a server in one of the processes, and some app that expects that server to be immediately available in the other process. I've been able to solve this problem by making use of the wait-on package, as follows:
"start": "concurrently -k -s first \"npm run server\" \"npm run app\"",
"server": "node server.js",
"app": "wait-on http://localhost:3000/ && node app.js"
I'm just creating this issue to help other people that hit the same issue.
The text was updated successfully, but these errors were encountered:
I've needed this a couple of times when I've started a server in one of the processes, and some app that expects that server to be immediately available in the other process. I've been able to solve this problem by making use of the wait-on package, as follows:
I'm just creating this issue to help other people that hit the same issue.
The text was updated successfully, but these errors were encountered: