analogjs / analog

The fullstack meta-framework for Angular. Powered by Vite and Nitro
https://analogjs.org
MIT License
2.61k stars 251 forks source link

fix(vite-plugin-angular): force rebuild and analysis on file changes #1416

Closed brandonroberts closed 1 month ago

brandonroberts commented 1 month ago

PR Checklist

Fixes #1394 Fixes #1345

What is the new behavior?

In some cases, when adding or renaming page route files, the dev server had to be restarted, along with hard refreshing the browser for the changes to be picked up.

This fix forces a rebuild/re-analysis of the Angular compilation with the newly added/renamed files, so renaming a page route file is picked up and refreshed correctly without restarting.

Does this PR introduce a breaking change?

Other information

[optional] What gif best describes this PR or how it makes you feel?

netlify[bot] commented 1 month ago

Deploy Preview for analog-app ready!

Name Link
Latest commit e968744fe82b0a57001fcbd774a764c3c98fa007
Latest deploy log https://app.netlify.com/sites/analog-app/deploys/6719cd17d4c876000857eeb1
Deploy Preview https://deploy-preview-1416--analog-app.netlify.app
Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify site configuration.

netlify[bot] commented 1 month ago

Deploy Preview for analog-docs ready!

Name Link
Latest commit e968744fe82b0a57001fcbd774a764c3c98fa007
Latest deploy log https://app.netlify.com/sites/analog-docs/deploys/6719cd172648fc0008075a84
Deploy Preview https://deploy-preview-1416--analog-docs.netlify.app
Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify site configuration.

netlify[bot] commented 1 month ago

Deploy Preview for analog-blog ready!

Name Link
Latest commit e968744fe82b0a57001fcbd774a764c3c98fa007
Latest deploy log https://app.netlify.com/sites/analog-blog/deploys/6719cd1777ffa60008fbe0c6
Deploy Preview https://deploy-preview-1416--analog-blog.netlify.app
Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify site configuration.

netlify[bot] commented 1 month ago

Deploy Preview for analog-ng-app ready!

Name Link
Latest commit e968744fe82b0a57001fcbd774a764c3c98fa007
Latest deploy log https://app.netlify.com/sites/analog-ng-app/deploys/6719cd17ea50d4000957a6b4
Deploy Preview https://deploy-preview-1416--analog-ng-app.netlify.app
Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify site configuration.