bug: Live Reload not working when changing .css files to .scss
还没有人认领这个 Issue。
评估
- 难度
- 4/5
- 预计耗时
- 3-5 天
- 新手友好度
- 30/100
- Issue 类型
- 缺陷
- 描述清晰度
- 基本清楚
- 活跃度
- 停滞
- 技术栈
- node.js, typescript
调研方向
首先,在安装 node-sass 并将 CSS 文件重命名为 SCSS 后,使用报告中的 Node.js 和 Windows 配置,复现 Ionic CLI 6.16.3 中 live-reload 卡住的问题。跟踪 CLI 的 live-reload 编译路径,并验证 SCSS 更改能够正常编译和重新加载,而不会一直卡在 Compiling....
由索引模型根据 Issue 内容生成。
描述
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
- 主要语言
- TypeScript
- 星标
- 2k
- 派生
- 681
- PR 合并指标
- 30 天内没有已合并 PR
贡献指南
从这里开始
- 先读完整个 Issue,再读项目的贡献指南。
- 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
- Fork 仓库,在一个分支上完成修改。
- 提交 Pull Request,并在描述里引用这个 Issue 编号。
ionic-team/ionic-cli 的其他 Issue
-
triage
难度 1/5 1 小时以内 新手友好度 65/100
ionic-team/ionic-cli#5016 ·
-
triage
难度 5/5 一周以上 新手友好度 15/100
ionic-team/ionic-cli#5131 ·
-
triage
难度 3/5 1-2 天 新手友好度 56/100
ionic-team/ionic-cli#5130 ·
-
triage
难度 3/5 1-2 天 新手友好度 72/100
ionic-team/ionic-cli#5129 ·
-
triage
难度 3/5 1-2 天 新手友好度 42/100
ionic-team/ionic-cli#5127 · 2 条评论 ·
查看 ionic-team/ionic-cli 的全部 Issue
相似的 Issue
-
难度 2/5 1-3 小时 新手友好度 65/100
-
难度 2/5 1-3 小时 新手友好度 75/100
-
bug v2
难度 2/5 1-3 小时 新手友好度 75/100
modelcontextprotocol/inspector#2458 · 1 条评论 ·
-
难度 1/5 1 小时以内 新手友好度 75/100
railmapgen/rmp-gallery#4068 ·
-
Mend: dependency security vulnerability status: needs triage 🕵️♀️
难度 2/5 1-3 小时 新手友好度 70/100
carbon-design-system/ibm-products#9907 ·