Closed saideepesh000 closed 3 years ago
Hey @ameerthehacker, just a quick doubt, how to check these kind of things while developing for production.
@saideepesh000 by default it should run in production, in mac process.env.NODE_ENV
by default is null. I think in windows it is development
which is actually causing the issue. If you can change
if (process.env.NODE_ENV !== 'test') {
...
}
During development we can set NODE_ENV to test for stack trace
@ameerthehacker Shall I raise a PR
@saideepesh000 yes please go ahead
@saideepesh000 the fix has been released in v0.0.61
When a port is taken, we need to show user to start current server on other port. I'm not sure why this isn't working in production, in development it's working
Development
Production