Skip to content

ionic serve reload without making changes #2837

Open
@kensodemann

Description

@kensodemann

From @agarciaiglesias on October 26, 2017 8:44

Ionic version: (check one with "x")
(For Ionic 1.x issues, please use https://github.com/ionic-team/ionic-v1)
[ ] 2.x
[x ] 3.x
[ ] 4.x

I'm submitting a ... (check one with "x")
[ x] bug report
[ ] feature request

Please do not submit support requests or "How to" questions here. Instead, please use one of these channels: https://forum.ionicframework.com/ or http://ionicworldwide.herokuapp.com/

Current behavior:

When I use ionic serve it is reloading all the time without making changes in code. After it launch browser automatically starts to build again. I have tried "ionic serve --nolivereload" and I have tried to change ionic.project to select files to watch but nothing works.

Expected behavior:

"ionic serve" should stop building the project after it launch browser. And when I change the code and save it it build again and reload the browser.

Steps to reproduce:

Related code:

insert short code snippets here

Other information:

This is the console after doing ionic serve:

[10:41:24] watch started ...
[10:41:24] build dev started ...
[10:41:24] clean started ...
[10:41:24] clean finished in 13 ms
[10:41:24] copy started ...
[10:41:24] transpile started ...
[10:41:29] transpile finished in 5.20 s
[10:41:29] preprocess started ...
[10:41:29] deeplinks started ...
[10:41:29] deeplinks finished in 44 ms
[10:41:29] preprocess finished in 46 ms
[10:41:29] webpack started ...
[10:41:30] copy finished in 5.51 s
[10:41:42] webpack finished in 12.38 s
[10:41:42] sass started ...
[10:41:46] sass finished in 3.76 s
[10:41:46] postprocess started ...
[10:41:46] postprocess finished in 32 ms
[10:41:46] lint started ...
[10:41:46] build dev finished in 22.21 s
[10:41:47] watch ready in 22.72 s
[10:41:47] dev server running: http://localhost:8100/

Development server running!
Local: http://localhost:8100
External: http://10.74.60.59:8100

[10:41:53] build started ...
[10:41:54] copy update started ...
[10:41:54] transpile started ...
[10:42:00] transpile finished in 6.30 s
[10:42:00] deeplinks update started ...
[10:42:00] deeplinks update finished in 47 ms
[10:42:00] webpack update started ...
[10:42:01] copy update started ...
[10:42:01] copy update started ...
[10:42:02] copy update started ...
[10:42:02] webpack update finished in 1.33 s
[10:42:02] sass update started ...
[10:42:02] copy update finished in 8.27 s

[10:42:02] copy update finished in 1.70 s

[10:42:03] copy update finished in 1.24 s

[10:42:03] copy update finished in 1.92 s

[10:42:07] sass update finished in 5.32 s
[10:42:08] build finished in 14.90 s

[10:42:08] build started ...
[10:42:08] transpile started ...
[10:42:13] transpile finished in 5.22 s
[10:42:13] deeplinks update started ...
[10:42:13] deeplinks update finished in 33 ms
[10:42:13] webpack update started ...
[10:42:16] webpack update finished in 2.53 s
[10:42:16] build finished in 8.46 s

Ionic info: (run ionic info from a terminal/cmd prompt and paste output below):

cli packages: (C:\Users\agarciaiglesias\AppData\Roaming\npm\node_modules) 
                                                                          
    @ionic/cli-utils  : 1.15.0                                            
    ionic (Ionic CLI) : 3.15.0                                            
                                                                          
local packages:                                                           
                                                                          
    @ionic/app-scripts : 1.3.12                                           
    Ionic Framework    : ionic-angular 3.5.0                              
                                                                          
System:                                                                   
                                                                          
    Node : v8.5.0                                                         
    npm  : 5.4.2                                                          
    OS   : Windows 10                                                     ```




_Copied from original issue: ionic-team/ionic#13247_

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions