I am using NX for monorepo project together with NestJs. After i run project everything works fien until I do some changes in files and save them. After webapck recompiles project it shows that it is started but has error in console "Starting inspector on localhost:9229 failed: address already in use" and GraphQL studio shows this error: Cannot execute GraphQL operations after the server has stopped
for some time. After some time it starts to work again or after second save of files.
Any ideas how to fix it?