angular / angular/angular

`learn-angular` : output not updating as code changes

未關閉
#60,909 2 則留言 2 個 reaction 已指派 0 人 在 GitHub 檢視
area: docs
主要語言
TypeScript
星號
101k
分支
27.5k
平均合併
1 天 19 小時
30 天內合併 PR
288

描述

### Describe the problem that you experienced

1. Follow the steps given in the tutorial such as changing html, css
2. Notice that the output doesn't change

### Enter the URL of the topic with the problem

https://angular.dev/tutorials/learn-angular/1-components-in-angular

### Describe what you were looking for in the documentation

I am trying to learn Angular. Thus, I was using the tutorial.

### Describe the actions that led you to experience the problem

I was using the tutorial and followed the steps but the output window didn't change automatically(hmr). It only works when the project is rebuilt(clicking on refresh button/reloading the page)

### Describe what you want to experience that would fix the problem

I want the output to reflect the changes in code

### Add a screenshot if that helps illustrate the problem

Initial

![Image](https://github.com/user-attachments/assets/16545ffc-c240-4ab7-af05-3213016d3270)

After changing template to Hello Universe

![Image](https://github.com/user-attachments/assets/826edbdf-e3a4-4b0b-936f-c7bce0dbc4f1)

After pressing the retry button(rebuilds the project, no HMR)

![Image](https://github.com/user-attachments/assets/1e7b4a94-13f9-4e13-baa0-6e408b30f402)

### If this problem caused an exception or error, please paste it here

```true

```

### If the problem is browser-specific, please specify the device, OS, browser, and version

```true
This issue only occurs on Firefox, I also tested this on Chrome and Edge but no issue

Device - Lenovo Ideapad Slim 5 14IMH9
OS - Windows 11
Browser - Firefox Version 137.0.2 (64-bit)
```

### Provide any additional information here in as much as detail as you can

```true

```

貢獻指南

開啟貢獻指南

研究方向

從 https://angular.dev/tutorials/learn-angular/1-components-in-angular 的 learn-angular 教學開始,並在 Windows 11 上的 Firefox 137.0.2 中重現編輯流程,再與 Chrome 或 Edge 進行比較。當 HTML 和 CSS 的變更無需按下 retry、重新整理或重新建置即可更新輸出時,即表示完成。

由索引模型根據 Issue 內容生成。

評估

技術堆疊
angular, typescript
領域
documentation, frontend
Issue 類型
缺陷
難度
3/5
預估耗時
1-2 天
活躍度
冷清
描述清晰度
基本清楚
新手友好度
52/100

把新 issue 寄到你的電子郵件信箱

精選適合新手參與的 GitHub issue 摘要。