Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

turn off auto reload of admin page in production #124

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

TerribleDev
Copy link

@TerribleDev TerribleDev commented Jan 22, 2024

Some cloud providers don't use the same build machines in prod as dev, and in some cases don't cache the header files for SWC. This results in some deploys failing as the app tries to run webpack in prod which causes runtime failures.

Separately, running this causes more memory usage, which may make new developers believe their minimum requirements and thus spend in the cloud is higher than it actually needs to be. For example, you can run this on the free tier of some services such as render.com but couldn't if you are trying to run webpack on the deployed machine.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant