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

Add option to not clear screen when building extensions #22402

Open
GuyShane opened this issue May 6, 2024 · 0 comments
Open

Add option to not clear screen when building extensions #22402

GuyShane opened this issue May 6, 2024 · 0 comments

Comments

@GuyShane
Copy link

GuyShane commented May 6, 2024

Describe the Improvement

It would be nice when building extensions in a docker environment for the CLI not to clear the screen on every change. Maybe just an option in the command like directus-extension build --no-clear.

As for as I can see, the relevant sections would be:
https://github.com/directus/directus/blob/main/packages/extensions-sdk/src/cli/run.ts#L27
https://github.com/directus/directus/blob/main/packages/extensions-sdk/src/cli/commands/build.ts#L490

Just not sure how you would like to pass the option down into the watchExtension function.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
Status: 🆕 Needs Triage
Development

No branches or pull requests

2 participants