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

astro-icon triggers extra reloads when non-icon files are modified #567

Open
jldec opened this issue Dec 12, 2024 · 1 comment
Open

astro-icon triggers extra reloads when non-icon files are modified #567

jldec opened this issue Dec 12, 2024 · 1 comment

Comments

@jldec
Copy link

jldec commented Dec 12, 2024

I noticed duplicate console logs every time something changes in an astrowind project.

to reproduce:

  • git clone, npm install, npm run dev - unmodified astrowind repo
  • modify some text e.g. in src/pages/index.astro
  • see extra messages in console (screenshot below)

Screenshot 2024-12-12 at 10 10 37

The root cause appears to be this issue and PR

Related:

@jldec
Copy link
Author

jldec commented Dec 15, 2024

fyi - a workaround while this issue is pending is to pin astro-icon to v1.1.2 in your package.json.
credit @WalshyDev for this comment here.

"astro-icon": "1.1.2",

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