cssinjs / cssinjs/jss

Hot reload not working in Gatsby

Open
#1,079 2 comments 1 reaction 0 assignees View on GitHub
bug help wanted
Dominant language
JavaScript
Stars
7.1k
Forks
386
PR merge metrics
No merged PRs in 30d

Description

__Expected behavior:__
After updating a style object and saving the js file, it is expected styles will update in the browser via hot reloading in GatsbyJS.

__Describe the bug:__
After updating a style object and saving the js file, the Gatsby website does not hot reload styles. On a hard page refresh (cmd + r) the new styles load as expected.

__Codesandbox link:__
https://codesandbox.io/embed/github/codeithuman/gatsby-jss-hot-reload/tree/master/
https://github.com/codeithuman/gatsby-jss-hot-reload

__Versions (please complete the following information):__
- jss: v10.0.0-alpha.16
- Browser [e.g. chrome, safari]: Chrome
- OS [e.g. Windows, macOS]: macOS

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.