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

Angular dev server can't finish rebuild #1411

Open
1 task done
LuisTovar0 opened this issue Apr 15, 2024 · 0 comments
Open
1 task done

Angular dev server can't finish rebuild #1411

LuisTovar0 opened this issue Apr 15, 2024 · 0 comments

Comments

@LuisTovar0
Copy link

LuisTovar0 commented Apr 15, 2024

Describe the bug

When an Angular 17 project is opened, it runs pnpm install && pnpm start like normal. But when there's a file change, the dev server will detect it and start rebuilding, but it won't finish rebuilding. Basically it seems like the hot-reload is broken. I have to ^C pnpm start every time i want to see how it looks

Link to the blitz that caused the error

https://stackblitz.com/edit/mat-ripple-breaking-mat-table

Steps to reproduce

  1. Create new Vanilla JS project
  2. cd ..
  3. rm -rf <project-name>/*
  4. npx @angular/cli new <project-name> --force --minimal --package-manager pnpm --routing false --skip-git --skip-tests --ssr false --style scss, wait for install to finish
  5. Save project
  6. Exit Stackblitz and enter the project again, or reload page/link
  7. Wait for install, run pnpm start, wait for the app to render
  8. Edit the template of src/app/app.component.ts

Expected behavior

After the change is saved (either by typing or by manual save), the dev server detects the change and starts rebuilding the app. It should rebuild it successfully, and then reload the app served from port 4200.

Parity with Local

Screenshots

No response

Platform

  • OS: Windows 10
  • Browser: Firefox
  • Version: 124.0.2 (64-bit)

Additional context

I tried to replicate in Chromium and the problem doesn't happen there

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