Open igrep opened 9 years ago
Seems that the cause is |
character in --source_map_location_mapping=app\|
option.
I thought it might fix this bug to execute closure compiler in app directory not to use source_map_location_mapping
option.
Didn't work... I don't know why, but the source map was not generated as I expected though changing the current directory of shell:buildFrontend
task:
app.js.map was created, and its content looks good, but Chrome never mapped it to the source files.
Maybe the only way is using https://nodejs.org/api/child_process.html directly... With this, we can execute a command without shell (of course including the infamous cmd.exe!) But why isn't such a feature provided by both Grunt and Gulp? :confused: