Skip to content

[eject & AOT] need to save resources files twice for refresh #9866

@ghetolay

Description

@ghetolay

Versions

1.7.2 (e)

Repro steps

  • ng new TestProject
  • cd TestProject
  • ng eject
  • Edit webpack.config.js and set skipCodeGeneration to false.
  • npm start
  • Edit app.component.css by adding/updating/removing rules.

(I wanted to be IDE/Editor free so I used nano to edit the files directly on command line.)

Observed behavior

when you save the file the page will refresh but won't reflect the changes, you need to save a second time to provoke a new page refresh and get the changes applied.

Desired behavior

Changes should be updated on first refresh, as soon as we save the file.

Mention any other details that might be useful (optional)

I wanted to try with v6 beta but eject doesn't work yet.

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