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

Task cli forces .nitro as buildDir #2634

Closed
TMBL-DEV opened this issue Jul 26, 2024 · 0 comments
Closed

Task cli forces .nitro as buildDir #2634

TMBL-DEV opened this issue Jul 26, 2024 · 0 comments

Comments

@TMBL-DEV
Copy link
Contributor

Environment

nitro: 2.9.6
node: v20

Reproduction

i think the description together with the link to the code that causes this is more then clear for anyone to understand.

Describe the bug

.nitro forced as buildDir for tasks cli

details

Like the title says currently when you want to run a task through the cli like the docs show you will run into the issue that it forces .nitro to be your build directory.

This is caused by this line

This causes the issue that if you have a custom build directory or if you use nuxt that the task cli won't work.

proposal

utilize the nitro.options.buildDir as the default buildDir for the task cli.

Additional context

No response

Logs

No response

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

No branches or pull requests

1 participant