Skip to content

VS2015 returns JsErrorScriptException when compilerOptions.watch is true #7362

Closed
@Liero

Description

@Liero

In Visual Studio 2015 create TypeScript HTML app.
Add .ts file to the project
Add tsconfig.json to the project and set "watch": true

{
  "compileOnSave" : true,
  "compilerOptions": {
    "watch": true,
    "noImplicitAny": false,
    "noEmitOnError": true,
    "removeComments": false,
    "sourceMap": true,
    "target": "es5"
  },
  "exclude": [
    "node_modules",
    "wwwroot"
  ]
}

Build the project. Build should fail with an error:

VSTSC : Script failed with error : 'JsErrorScriptException (0x30001)'.

I'm using:
VS2015 Enterprise Version 14.0.24720.00 Update 1
Typescript 1.8.6.0
WebEssentials 2015.1, build 1.0.209
Resharper 2015.2, build 103.0.20150818.200216 (I've tried to suspend it in order to eliminate influence)

Metadata

Metadata

Assignees

Labels

BugA bug in TypeScriptFixedA PR has been merged for this issue

Type

No type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions