Skip to content

Livereload after Sass (.scss) file change #815

Closed
@samuel-kollat

Description

@samuel-kollat
  1. OS - Windows 10
  2. Node version: 5.7.1
  3. I installed node-sass (version 3.7.0), renamed test-project.component.css to test-project.component.scss and filled it with:
h1 {
  color: blue;
}

After running ng s everything is allright. But any change to .scss file (e.g. color: red;) does not update/reaload a page despite succesful build:

file added app\test-project.component.scss___jb_tmp___
file changed app\test-project.component.scss___jb_tmp___
file deleted app\test-project.component.scss
file added app\test-project.component.scss___jb_old___
file deleted app\test-project.component.scss___jb_tmp___
file added app\test-project.component.scss
file deleted app\test-project.component.scss___jb_old___

Build successful - 407ms.

Slowest Trees                                 | Total
----------------------------------------------+---------------------
vendor                                        | 327ms

Slowest Trees (cumulative)                    | Total (avg)
----------------------------------------------+---------------------
vendor (1)                                    | 327ms
Funnel (9)                                    | 34ms (3 ms)

Preferably it would be great if a page ptyles were updated without full page reload.

Metadata

Metadata

Assignees

No one assigned

    Labels

    P3An issue that is relevant to core functions, but does not impede progress. Important, but not urgenttype: bug/fix

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions