Closed davidparsson closed 8 years ago
I'm seeing this error in 5.3.0, 5.3.1, 5.3.2 and 5.4.0, but not in 5.2.0:
Running "ts:app" (ts) task Visual Studio config issue: {} Warning: Task "ts:app" failed. Use --force to continue.
What caused this in my case seems to be that my src contains nested arrays. My configuration looks kind of like this:
src
applicationSources: [ "app/file1.ts", "app/file2.ts" ], ts: { app: { src: [ "dependencies.ts", "<%= applicationSources %>" ], dest: "build/app.js" } }
Grunt expands <%= applicationSources %>, turning src into this:
<%= applicationSources %>
src: [ "dependencies.ts", [ "app/file1.ts", "app/file2.ts" ] ],
Oops, I found #323.
I'm seeing this error in 5.3.0, 5.3.1, 5.3.2 and 5.4.0, but not in 5.2.0:
What caused this in my case seems to be that my
src
contains nested arrays. My configuration looks kind of like this:Grunt expands
<%= applicationSources %>
, turningsrc
into this: