Skip to content

Commit 066ebfb

Browse files
committed
Merge pull request #178 from nycdotnet/NYCDotNet-Work-2014-11-20
Fix for #177
2 parents ee995fb + b770436 commit 066ebfb

File tree

3 files changed

+12
-0
lines changed

3 files changed

+12
-0
lines changed

CHANGELOG.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,8 @@
55
* FEAT: support watching multiple DIRS. (https://github.com/grunt-ts/grunt-ts/pull/155/)
66
* CHORE: Use lodash instead of underscore (https://github.com/TypeStrong/grunt-ts/pull/161)
77
* DOCS: More sample config for gruntfile (https://github.com/TypeStrong/grunt-ts/pull/166)
8+
* FEAT: support for `files` in gruntfile (https://github.com/TypeStrong/grunt-ts/pull/171)
9+
* FIX: missing tsc.js will now fail the build step (#177)
810

911
## v1.12.0
1012
* ENANCEMENT: Transforms are run even when the compile option is false

tasks/ts.js

Lines changed: 5 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

tasks/ts.ts

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -297,6 +297,11 @@ function pluginFn(grunt: IGrunt) {
297297
return false;
298298
}
299299

300+
if (result.code === 8) {
301+
grunt.log.error('Error: Node was unable to run tsc. Possibly it could not be found?'.red);
302+
return false;
303+
}
304+
300305
var isError = (result.code === 1);
301306

302307
// If the compilation errors contain only type errors, JS files are still

0 commit comments

Comments
 (0)