ionic-team / ionic-team/ionic-cli

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

Open
#2,324 1 comment 0 reactions 0 assignees View on GitHub
project type: ionic-angular
Dominant language
TypeScript
Stars
2k
Forks
682
PR merge metrics
No merged PRs in 30d

Description

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

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.