ionic-team / ionic-team/ionic-cli

Ionic serve: File(s) changes not reflected in the browser, slows down development

未关闭
#2,324 1 条评论 0 个 reaction 已指派 0 人 在 GitHub 查看
project type: ionic-angular
主要语言
TypeScript
星标
2k
派生
682
PR 合并指标
30 天内没有已合并 PR

描述

Ionic serve isn't serving the latest changes after saving a file. It's kind of a deal breaker during/for development. I am often forced to save a file at least once or restart ionic serve in order to work around this annoying issue.

**Steps to reproduce:**
1. Unpack https://drive.google.com/file/d/0B4eB_Qz7OSaTVndrVC1TdlliSkE/view?usp=sharing
2. Yarn (or npm install)
3. ionic serve
4. Make some small edit in src/components/bar/bar.html

The same issue is present even when using ionic CLI 2.2.3

global packages:

@ionic/cli-utils : 1.1.2
Ionic CLI : 3.1.2

local packages:

@ionic/app-scripts : 1.3.7
@ionic/cli-plugin-ionic-angular : 1.1.2
Ionic Framework : ionic-angular 3.2.1

System:

Node : v6.10.3
OS : macOS Sierra
Xcode : Xcode 8.3.2 Build version 8E2002
ios-deploy : 1.9.1
ios-sim : 5.0.13

贡献指南

打开贡献指南

调研方向

Reproduce the problem with the supplied project by running yarn or npm install, then ionic serve and editing src/components/bar/bar.html. Trace the CLI's file-watching and reload path; done means saved edits are reflected in the browser without an extra save or restarting ionic serve.

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

评估

技术栈
node.js, typescript
领域
cli
Issue 类型
缺陷
难度
3/5
预计耗时
1-2 天
活跃度
停滞
描述清晰度
基本清楚
新手友好度
25/100

把新 issue 发到你的邮箱

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