ENABLE_GATSBY_REFRESH_ENDPOINT should be available to set in config.flags #32413
Unanswered
phil-lgr
asked this question in
Ideas / Feature Requests
Replies: 2 comments 1 reply
-
Hi! I don't see any value in adding this to the flags are those are just a mechanism for us to let people test out things that at some point get built-in anyways. Always setting |
Beta Was this translation helpful? Give feedback.
1 reply
-
Thank you but we're going to keep it as an env var without adding it to the flags. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Preliminary Checks
Description
I think it should be added to https://github.com/gatsbyjs/gatsby/blob/master/packages/gatsby/src/utils/flags.ts
so we have one place to manage flags
Reproduction Link
https://github.com/gatsbyjs/gatsby/blob/master/packages/gatsby/src/utils/flags.ts
Steps to Reproduce
Expected Result
The refresh endpoint should be enabled via standard Gatsby flags
Actual Result
We need to set ENABLE_GATSBY_REFRESH_ENDPOINT when running the CLI
Environment
System: OS: macOS 11.4 CPU: (8) arm64 Apple M1 Shell: 3.2.57 - /bin/bash Binaries: Node: 16.5.0 - /var/folders/z3/1b10ld5s49n70q3n77_6_qch0000gn/T/yarn--1626446434911-0.6160726936976746/node Yarn: 1.22.10 - /var/folders/z3/1b10ld5s49n70q3n77_6_qch0000gn/T/yarn--1626446434911-0.6160726936976746/yarn npm: 7.19.1 - ~/.nvm/versions/node/v16.5.0/bin/npm Languages: Python: 2.7.16 - /usr/bin/python Browsers: Chrome: 91.0.4472.114 Safari: 14.1.1
Config Flags
No response
Beta Was this translation helpful? Give feedback.
All reactions