{"action":"closed","issue":{"url":"https://api.github.com/repos/riot/riot/issues/1021","labels_url":"https://api.github.com/repos/riot/riot/issues/1021/labels{/name}","comments_url":"https://api.github.com/repos/riot/riot/issues/1021/comments","events_url":"https://api.github.com/repos/riot/riot/issues/1021/events","html_url":"https://github.com/riot/riot/issues/1021","id":96431963,"number":1021,"title":"riot --watch is stopped on every compilation error of typescript","user":{"login":"duongphuhiep","id":1638594,"avatar_url":"https://avatars.githubusercontent.com/u/1638594?v=3","gravatar_id":"","url":"https://api.github.com/users/duongphuhiep","html_url":"https://github.com/duongphuhiep","followers_url":"https://api.github.com/users/duongphuhiep/followers","following_url":"https://api.github.com/users/duongphuhiep/following{/other_user}","gists_url":"https://api.github.com/users/duongphuhiep/gists{/gist_id}","starred_url":"https://api.github.com/users/duongphuhiep/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/duongphuhiep/subscriptions","organizations_url":"https://api.github.com/users/duongphuhiep/orgs","repos_url":"https://api.github.com/users/duongphuhiep/repos","events_url":"https://api.github.com/users/duongphuhiep/events{/privacy}","received_events_url":"https://api.github.com/users/duongphuhiep/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/riot/riot/labels/question","name":"question","color":"fbca04"}],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":3,"created_at":"2015-07-21T22:32:20Z","updated_at":"2015-12-15T22:49:30Z","closed_at":"2015-12-15T22:49:30Z","body":"Thanks for the great library. I found issue on riot --watch;\r\n\r\nI was editing a tag file **in typescript** and saved the file\r\n\r\n    <my-tag>\r\n        <script type=\"typescript\">\r\n            var x:number = \"abcd\";\r\n        <script>\r\n    <my-tag>\r\n\r\nI expected that `riot --watch` should print error and continue watching but the watching is stopped: \r\n```\r\nD:\\dev-js\\todo-app-riot\\node_modules\\typescript-simple\\index.js:131\r\n                throw new Error(this.formatDiagnostics(allDiagnostics));\r\n                      ^\r\nError: L1: Type 'string' is not assignable to type 'number'.\r\n    at TypeScriptSimple.toJavaScript (D:\\dev-js\\todo-app-riot\\node_modules\\typescript-simple\\index.js:131:23)\r\n    at TypeScriptSimple.compile (D:\\dev-js\\todo-app-riot\\node_modules\\typescript-simple\\index.js:53:25)\r\n    at tss (D:\\dev-js\\todo-app-riot\\node_modules\\typescript-simple\\index.js:12:27)\r\n    at parsers.js.typescript (D:\\dev-js\\todo-app-riot\\node_modules\\riot\\lib\\server\\parsers.js:16:42)\r\n    at compileJS (eval at <anonymous> (D:\\dev-js\\todo-app-riot\\node_modules\\riot\\lib\\server\\compiler.js:1:0), <anonymous>:159:10)\r\n    at eval (eval at <anonymous> (D:\\dev-js\\todo-app-riot\\node_modules\\riot\\lib\\server\\compiler.js:1:0), <anonymous>:217:7)\r\n    at String.replace (native)\r\n    at Object.compile (eval at <anonymous> (D:\\dev-js\\todo-app-riot\\node_modules\\riot\\lib\\server\\compiler.js:1:0), <anonymous>:186:14)\r\n    at parse (D:\\dev-js\\todo-app-riot\\node_modules\\riot\\lib\\server\\cli.js:123:44)\r\n    at D:\\dev-js\\todo-app-riot\\node_modules\\riot\\lib\\server\\cli.js:124:82\r\n```"}}