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

This commit is contained in:
Dirk Bäumer
2016-10-04 10:18:03 -07:00
committed by Mohamed Hegazy
parent 0d3f4aa29b
commit 132d1dacec
+2
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();
}