nodeExecTask doesn't assume __dirname location
JasonGore opened this issue · 0 comments
JasonGore commented
nodeExecTask
didn't assume __dirname
when invoking a relative script, which forced me to do:
task('wacbuild', nodeExecTask({
enableTypeScript: true,
args: [path.join(__dirname, './wacBuildRun.ts')]
}));
I'm not exactly sure if this is an issue, but it doesn't feel quite so ergonomic. I wonder if nodeExecTask
should take a specific script path or task function rather than bare node args? Hmm.