Closed ravishivt closed 8 years ago
I'm also getting this. Config below (working in v5.3.0-beta3 and -beta4)
ts: {
options: {
compiler: "./node_modules/typescript/bin/tsc",
declaration: true,
module: "commonjs",
moduleResolution: "node",
noImplicitAny: true,
preserveConstEnums: true,
removeComments: true,
sourceMap: true,
target: "es5"
},
all: {
options: {
fast: "never"
},
outDir: "./<%= config.tmp %>/compiled",
src: [
"*.ts",
"./!(<%= ignorePaths %>)/**/*.ts",
"./<%= config.test %>/**/*.ts"
]
},
src: {
options: {
rootDir: "./"
},
src: [
"*.ts",
"./!(<%= ignorePaths %>)/**/*.ts"
]
}
}
Thanks for the report. I will take a look asap. If it was working in 5.3.0-beta.3, please revert to that version in the meantime.
Just to confirm - neither of you are using the Visual Studio integration? (Does not appear so bases on your gruntfiles).
Thanks.
Interesting that your targets are both named src...
Nope, no Visual Studio integration on my end.
This should be fixed in v5.3.2. The issue was specifically with targets named src
.
Thank you for the report! You're in the patch notes. If there is still a problem, please comment or re-open.
Fame at last.
In answer to your question, no I'm not using Visual Studio - I use WebStorm. v5.3.2 has fixed the issue. Thanks
I am still seeing this issue with v5.4
Did you rerun npm install after editing your package.json? Did 5.3.2 fix it and 5.4 was a regression? Thanks.
I've seen this from v5.3.0 to v5.4.0. I created #353 describing that issue. See #323.
Just updated to 5.3.1 from 5.3.0-beta.3 and hit a build issue.
My grunt ts:src task: