If the -- open flag is used, any modifications to the packagist.json file will reopen the browser at this time #11374
Labels
- P3: minor bug
An edge case that only affects very specific usage (priority)
feat: dev
Related to `astro dev` CLI command (scope)
good first issue
Good for newcomers. If you need additional guidance, feel free to post in #dev on Discord
help wanted
Please help with this issue!
Astro Info
If this issue only occurs in one browser, which browser is a problem?
chrome
Describe the Bug
If the -- open flag is used in the development script, every time the package.json file browser is modified, it will open a new tab
script:
Here is a more detailed video demonstration:
kk.2024-06-29.23-12-22.mp4
Warehouse for reproducing examples:
https://github.com/ajiho/astro-build-boilerplate
What's the expected result?
The correct behavior should be to modify package.json, which should not have any response,I don't know if it's an issue with Astro or Vite regarding the occurrence of this behavior,If there are no issues with both, please tell me what to do? I have ensured that my vscdoe editor does not have any extensions that may affect it,

Link to Minimal Reproducible Example
https://github.com/ajiho/astro-build-boilerplate
Participation
The text was updated successfully, but these errors were encountered: