Skip to content
This repository was archived by the owner on May 1, 2020. It is now read-only.
This repository was archived by the owner on May 1, 2020. It is now read-only.

Enable CSS injection instead of full browser reload when changing global SCSS file #1443

Closed
@MilosR

Description

@MilosR

Short description of the problem:

Is there any way to configure CSS injection in browser when changing global SCSS files (eg. app.scss, not part of any component) and avoid full rebuild and browser refresh? It is very slow and time consuming in cases when you need custom styling.

What behavior are you expecting?

Live CSS inject / replacement, only CSS rebuild.

Steps to reproduce:

  1. run "ionic serve"
  2. change content of 'app.scss' file
  3. you will see full rebuild, "rebuilding..." window in browser and browser refresh

Which @ionic/app-scripts version are you using?


cli packages:

    @ionic/cli-utils  : 1.19.2
    ionic (Ionic CLI) : 3.20.0

global packages:

    cordova (Cordova CLI) : 8.0.0

local packages:

    @ionic/app-scripts : 3.1.9
    Cordova Platforms  : android 7.0.0
    Ionic Framework    : ionic-angular 3.9.2

System:

    Node : v9.5.0
    npm  : 5.6.0
    OS   : Windows 10

Environment Variables:

    ANDROID_HOME : not set

Misc:

    backend : pro

Similar issues:

#387
angular/angular-cli#3869

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions