You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hot reload fails to show changes in an outside library (imported in Gatsby pages).
Steps to reproduce
Make a change in outside library. I use a separate Yarn workspace for the library. Rollup for bundling. Gatsby detects the change (from what I can understand from the terminal) when library gets rebuild, but fails to show changes in browser.
I have a feeling like there is some race condition happening; parts of the library gets built, Gatsby notices the change and starts to rebuild pages, and during that time the rest of the library gets built (takes about 2 seconds) and Gatsby fails to notice that.
Expected result
Everything updates like in 2.24.0.
Actual result
Changes does not get updated in the browser. At some point the whole page hangs and I have to restart the server.
Description
Hot reload fails to show changes in an outside library (imported in Gatsby pages).
Steps to reproduce
Make a change in outside library. I use a separate Yarn workspace for the library. Rollup for bundling. Gatsby detects the change (from what I can understand from the terminal) when library gets rebuild, but fails to show changes in browser.
I have a feeling like there is some race condition happening; parts of the library gets built, Gatsby notices the change and starts to rebuild pages, and during that time the rest of the library gets built (takes about 2 seconds) and Gatsby fails to notice that.
Expected result
Everything updates like in 2.24.0.
Actual result
Changes does not get updated in the browser. At some point the whole page hangs and I have to restart the server.
Environment
The text was updated successfully, but these errors were encountered: