Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

nodeExecTask doesn't assume __dirname location #474

Open
JasonGore opened this issue Oct 13, 2020 · 0 comments
Open

nodeExecTask doesn't assume __dirname location #474

JasonGore opened this issue Oct 13, 2020 · 0 comments

Comments

@JasonGore
Copy link
Member

JasonGore commented Oct 13, 2020

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant