Addresses #11348: Could the tsserver add process.noAsar = true; (#11351) (#11360)

This commit is contained in:
Vladimir Matveev
2016-10-04 12:11:59 -07:00
committed by Mohamed Hegazy
parent e38f8c9c31
commit 93b8df7c5d

View File

@@ -523,6 +523,8 @@ namespace ts.server {
process.on("uncaughtException", function (err: Error) {
ioSession.logError(err, "unknown");
});
// See https://github.com/Microsoft/TypeScript/issues/11348
(process as any).noAsar = true;
// Start listening
ioSession.listen();
}