thruthesky / trainee

Trainee's work
0 stars 0 forks source link

Learn Angular CLI - ng - should not reload browser after changing css. #6

Open thruthesky opened 7 years ago

thruthesky commented 7 years ago

Update CSS without reloading browser

lightheaded commented 7 years ago

+1, please do implement it. Currently with --hmr --extract-css it still reloads the page

stas-kh commented 7 years ago

+1, it would be nice to have

inovozenko commented 6 years ago

Absolutely must have feature...

jcjmcclean commented 6 years ago

+1 could really use this. It's pretty painful building the styles for an application when the page reloads on every save.

LoganDark commented 5 years ago

Still an issue.

My workaround is to use the inspector to manually add styles to test before I add them to the CSS file.

aPinix commented 5 years ago

Is there a solution for this? Can't believe this is still an issue with Angular :( HRM only works for Sass files outside components (i.e. styles.scss in root) bot not Sass files in components.

fabianrios commented 4 years ago

still waiting, any hint of how to make this possible?

aPinix commented 4 years ago

We all have an HMR integration that can do half the job (global CSS/Sass works but not component CSS/Sass) but Angular is ignoring this question and is ending the support for HMR. In a few words, we're stepping back instead of forward.

LiveReload and Browsersync do this for years, React does this flawlessly and even for HTML and TS. It saddens me that Angular is not trying to improve this because there's a lot of people who need this.