Skip to content

Conversation

@gatsbybot
Copy link
Collaborator

Backporting #28394 to the 2.29 release branch

(cherry picked from commit 8ff6245)

…lowing down regular develop-js HMR (#28394)

* feature(gatsby): Pause dev-ssr watching between page loads to avoid slowing down regular develop-js HMR

* update snapshot

* Don't double-resolve + add activity for building the SSR bundle

* Add timeout for tests to ensure that dev server has time to bundle SSR + remove activity timers as not helpful

* Update packages/gatsby/src/commands/build-html.ts

Co-authored-by: Michal Piechowiak <misiek.piechowiak@gmail.com>

* fix typo

* Don't resume if nothing has changed

* Update packages/gatsby/src/commands/build-html.ts

Co-authored-by: Michal Piechowiak <misiek.piechowiak@gmail.com>

* Didn't need this

Co-authored-by: Michal Piechowiak <misiek.piechowiak@gmail.com>
(cherry picked from commit 8ff6245)
@gatsbot gatsbot bot added the status: triage needed Issue or pull request that need to be triaged and assigned to a reviewer label Dec 23, 2020
@vladar vladar removed the status: triage needed Issue or pull request that need to be triaged and assigned to a reviewer label Dec 23, 2020
@vladar vladar merged commit 6919703 into release/2.29 Dec 23, 2020
@vladar vladar deleted the backport-2.29-28394 branch December 23, 2020 16:09
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants