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.

Gatsby v3 / Theme UI 0.6 - Not Hot Reloading

See original GitHub issue

Describe the bug When using Theme UI 0.6 and Gatsby v3 i’m noting that hot reloading doesn’t update the styles when i save changes to the Theme UI styles. I’m using gatsby-plugin-theme-ui also v0.6.

To Reproduce Install:

  • “gatsby”: “^3.1.1”,
  • “gatsby-plugin-theme-ui”: “^0.6.0”,
  • “theme-ui”: “^0.6.0”

Create a default export in src/gatsby-plugin-theme-ui/index.js and add some colors. The styles are picked up by the Gatsby “site” but when changing values in the theme object the Gatsby site doesn’t hot reload.

Expected behavior The Gatsby site should hot related when values in the theme object are updated

Additional context This might be a problem with Gatsby v3 not Theme UI so apologies in advance if that is the case.

Issue Analytics

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

github_iconTop GitHub Comments

1reaction
lachlanjccommented, Mar 23, 2021

Closing as a duplicate, but would love any help on #1440!

1reaction
fcisiocommented, Mar 23, 2021

Yes, duplicate of #1440 The first part of the issue is fixed with Gatsby v3, meaning that changes above the pages are now computed.

So what’s remaining is the “Ignored an update to the unaccepted module” error (more on this in #1440)

Read more comments on GitHub >

github_iconTop Results From Across the Web

Hot reloading not working : r/gatsbyjs - Reddit
Anyone run into this issue? I thought I had it fixed earlier by doing a fresh install. Worked for a while but now...
Read more >
"Gatsby-plugin-sharp wasn't setup correctly in gatsby-config.js ...
Gatsby -plugin-sharp wasn't setup correctly in gatsby-config.js. Make sure you add it to the plugins array. I have no idea why... I've tried ......
Read more >
Gatsby NPM - npm.io
Load Data From Anywhere. Gatsby pulls in data from any data source, whether it's Markdown files, a headless CMS like Contentful or WordPress, ......
Read more >
gatsby/CHANGELOG.md - UNPKG
1, # Change Log. 2. 3, All notable changes to this project will be documented in this file. 4, See [Conventional Commits](https://conventionalcommits.org) ...
Read more >
stackbit.yaml [Deprecated]
This file is not needed for running your website in production. ... For example, if your theme uses Gatsby you need to specify...
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