Workiva / wGulp

Opinionated Suite of Gulp Tasks for JavaScript and TypeScript projects.
Apache License 2.0
12 stars 9 forks source link

Poor error reporting when jsx build fails #79

Closed brentechols-wf closed 10 years ago

brentechols-wf commented 10 years ago
[13:54:43] Using gulpfile ~/workspace/goproj/src/github.com/Workiva/adaptive-data-store/frontend/gulpfile.js
[13:54:43] Starting 'build'...
[13:54:43] Starting 'clean'...
[13:54:43] Finished 'clean' after 34 ms
[13:54:43] Starting 'jsx'...
[13:54:43] Starting 'copy:html'...
[13:54:43] Starting 'copy:js'...
[13:54:43] Starting 'sass'...
[13:54:43] Finished 'copy:html' after 178 ms
[13:54:43] Finished 'copy:js' after 593 ms
[13:54:44] 'jsx' errored after 967 ms
[13:54:44] Error in plugin 'jsx'
Parse Error: Line 57: Unexpected token var
[13:54:44] 'build' errored after 1.01 s
[13:54:44] Error in plugin 'runSequence'
jsx callback
[13:54:44] Finished 'sass' after 751 ms

I got this output text because I forgot a closing

tag in a .jsx file ... I had to manually go through my build folder to find which files weren't compiled, and then attempt to find which of the files was the culprit in this situation. Is it possible to get a file ref. for what caused the compile to go wrong?