slate icon indicating copy to clipboard operation
slate copied to clipboard

Using CSS injection instead of page reload in 'slate watch' task

Open cintacks opened this issue 9 years ago • 4 comments

Quick question/feature request... is there any discussion about using injection instead of reloading in the slate watch task?

BrowserSync has functionality for it: https://www.browsersync.io/docs/api#api-stream but I'm a bit sketchy on how best to implement it into the existing Slate-tools workflow. I'll keep tinkering away and post back here when I have a solution if no one else claims one first.

cintacks avatar Jul 27 '17 15:07 cintacks

Thanks for posting this @kettultim! We'll investigate this too. Keep us posted on your progress 😄

t-kelly avatar Jul 27 '17 19:07 t-kelly

+1 on this

linuxbastard avatar Aug 03 '17 20:08 linuxbastard

We now us Webpack Hot Module Replacement to inject styles when developing.

This has been started and shipped in the 1.x branch.

t-kelly avatar Feb 14 '18 16:02 t-kelly

This thread has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.

lock[bot] avatar Oct 27 '18 00:10 lock[bot]