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'm using nestjs-temporal package, but I assume it would be the same with the nestjs typescript samples provided(if using nest start worker --watch). Everything is good at first run, but after code changes and nestjs reloading, the worker cannot restart, saying address port is already in use(3000).
Does anyone experienced this? Any ideas of a workaround would be appreciated. Manually restarting app is quite annoying.
The text was updated successfully, but these errors were encountered:
Maybe to answer my question, I found one possible alternative
We can split a nestjs app, by creating a separate entry point and main module that would create standalone app(no http server).
Then, edit the nest-cli.json to register this as a separate app. Code and modules can still be shared.
I'm using nestjs-temporal package, but I assume it would be the same with the nestjs typescript samples provided(if using nest start worker --watch). Everything is good at first run, but after code changes and nestjs reloading, the worker cannot restart, saying address port is already in use(3000).
Does anyone experienced this? Any ideas of a workaround would be appreciated. Manually restarting app is quite annoying.
The text was updated successfully, but these errors were encountered: