Open ghost opened 7 years ago
Hm, we should have a guard for this. https://github.com/s-panferov/awesome-typescript-loader/blob/master/src/checker/checker.ts#L152 do you use the latest version?
Yes. I am using
ah, you're using "0.0.0.0:9229" form. current implementation expected to work when only a port specified, like "--inspect=9229" or just "--inspect"
I'm using
awesome-typescript-loader
withexpress
+webpack-dev-middleware
+webpack-hot-middleware
in Docker container and this cause app crash with this messageStarting inspector on 0.0.0.0:9229 failed: address already in use
.This is because the checker process in checker.ts uses inherited args from the parent process. The parent process has the option
--inspect=0.0.0.0:9229
. So the forked child process will fail.