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

cli - custom-elements-manifest analyze does not terminate after running #278

Open
1 of 2 tasks
maybebot opened this issue Sep 3, 2024 · 0 comments
Open
1 of 2 tasks

Comments

@maybebot
Copy link

maybebot commented Sep 3, 2024

Checklist

  • Did you run the analyzer with the --dev flag to get more information?
  • Did you create a minimal reproduction in the playground?

Completing the items above will greatly improve triaging time of your issue.

Expected behavior
After running the custom-elements-manifest analyze I would expect the process to end, or to have an option that would make the process end.

Details
With a package.json:

{
  [...]
  "scripts": {
    [...]
    "manifest": "custom-elements-manifest analyze"
  }
}

after running

npm run manifest

I would expect the process to end.

During development I can easily end the process manually (CTRL+C or similar), but this becomes a problem if the command is part of a larger script, such as npm run build && npm run manifest && [...] where the process hangs.

Additionally, most non-watching npm commands tend to end their process.

Before trying to address the issue I wanted to bring it up here in case I'm missing something

In case this is the desired behavior a possible solution might also be behind a option such as --exit

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