question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Css changes shouldn't refresh the browser tab

See original GitHub issue

I’m submitting a…


[ ] Regression (a behavior that used to work and stopped working in a new release)
[ ] Bug report  
[x ] Feature request
[ ] Documentation issue or request
[ ] Support request => Please do not submit support request here, instead see https://github.com/angular/angular/blob/master/CONTRIBUTING.md#question

Current behavior

Currently when css code in the application is modified a full reload/refresh of browser tab takes place.

Expected behavior

Instead on the the css code must be modifed without reloading/refreshing the browser tab. This is something that https://github.com/ionic-team/ionic handles very well.

Issue Analytics

  • State:closed
  • Created 6 years ago
  • Comments:5 (3 by maintainers)

github_iconTop GitHub Comments

1reaction
Yerkoncommented, Feb 6, 2018

@shyamal890, you can use hot module reload command: ng serve --hmr. After that, changing component css/ts etc, files will trigger partial reload.

0reactions
angular-automatic-lock-bot[bot]commented, Sep 13, 2019

This issue has been automatically locked due to inactivity. Please file a new issue if you are encountering a similar or related problem.

Read more about our automatic conversation locking policy.

This action has been performed automatically by a bot.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Why is my CSS not updating in web browser? [closed]
When coding my website, I save HTML and CSS docs then refresh my browser to see the changes. However when I refresh the...
Read more >
How Do I Force the Browser to Update the CSS?
A few quick suggestions to force the browser to update the CSS to use the most recent version of your stylesheet, so the...
Read more >
Why is CSS not changing my updates in localhost and ...
Go to the Network Tab. Check the box marked “Disable Cache”. Keep Dev Tools Open. Make and save a change. Refresh your browser....
Read more >
tabs.insertCSS() - Mozilla - MDN Web Docs
This is an asynchronous function that returns a Promise (on Firefox only). Syntax. let inserting = browser.tabs.insertCSS( ...
Read more >
Lesson 5: Using Javascript to Hide and Show Content
In this lesson, you will use CSS and Javascript to show and hide the clock that you've created. ... Now refresh your page...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found