ionic-team / ionic-team/ionic-cli

bug: Live Reload not working when changing .css files to .scss

未關閉
#4,727 0 則留言 0 個 reaction 已指派 0 人 在 GitHub 檢視
triage
主要語言
TypeScript
星號
2k
分支
682
PR 合併指標
30 天內沒有已合併 PR

描述

# Bug Report

**Ionic version:**

[ ] **4.x**
[x] **5.x**
[ ] **6.x**

**Current behavior:**

If I change the .css extension with .scss then the live reloading freeze in Compiling... (if I close the app and serve again the issue still persist)
**Expected behavior:**

Everything works normaly
**Steps to reproduce:**

Install node-sass and then change at least 1 .css file to .scss

**Ionic info:**

```
Ionic:

Ionic CLI : 6.16.3 (C:\Users\PC\AppData\Roaming\npm\node_modules\@ionic\cli)
Ionic Framework : @ionic/react 5.6.10

Capacitor:

Capacitor CLI : 3.0.2
@capacitor/android : not installed
@capacitor/core : 3.0.2
@capacitor/ios : not installed

Utility:

cordova-res : 0.15.1
native-run : 1.4.0

System:

NodeJS : v14.15.0 (C:\Program Files\nodejs\node.exe)
npm : 6.14.8
OS : Windows 10
```

貢獻指南

開啟貢獻指南

研究方向

首先,在安裝 node-sass 並將 CSS 檔案重新命名為 SCSS 後,使用回報的 Node.js 和 Windows 設定,重現 Ionic CLI 6.16.3 中 live-reload 卡住的問題。追蹤 CLI 的 live-reload 編譯路徑,並確認 SCSS 變更能正常編譯和重新載入,而不會一直卡在 Compiling....

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

評估

技術堆疊
node.js, typescript
領域
cli, tooling
Issue 類型
缺陷
難度
4/5
預估耗時
3-5 天
活躍度
停滯
描述清晰度
基本清楚
新手友好度
30/100

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

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