0👍
✅
Looks like it came down to using "serve -s dist" in the package.json.
Switched to using express to serve the static files and PM2 creates two instances that share the port and behaves as expected.
Source:stackexchange.com
0👍
Looks like it came down to using "serve -s dist" in the package.json.
Switched to using express to serve the static files and PM2 creates two instances that share the port and behaves as expected.