Hacktoberfest 2026:维护者为十月标记出来的 issue,仍然开放、适合新手。 浏览 Hacktoberfest issue

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

未关闭
#4,727 0 条评论 0 个 reaction 已指派 0 人 在 GitHub 查看

还没有人认领这个 Issue。

评估

难度
4/5
预计耗时
3-5 天
新手友好度
30/100
Issue 类型
缺陷
描述清晰度
基本清楚
活跃度
停滞
领域
cli, tooling

调研方向

首先,在安装 node-sass 并将 CSS 文件重命名为 SCSS 后,使用报告中的 Node.js 和 Windows 配置,复现 Ionic CLI 6.16.3 中 live-reload 卡住的问题。跟踪 CLI 的 live-reload 编译路径,并验证 SCSS 更改能够正常编译和重新加载,而不会一直卡在 Compiling....

由索引模型根据 Issue 内容生成。

描述

triage

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

贡献指南

打开贡献指南

从这里开始

  1. 先读完整个 Issue,再读项目的贡献指南。
  2. 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
  3. Fork 仓库,在一个分支上完成修改。
  4. 提交 Pull Request,并在描述里引用这个 Issue 编号。

ionic-team/ionic-cli 的其他 Issue

查看 ionic-team/ionic-cli 的全部 Issue

相似的 Issue

更多 TypeScript Issue

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。