With custom server, no more remix dev #2017
jacargentina
started this conversation in
General
Replies: 1 comment
-
|
What I'm currently doing is toggling the config based on module.exports = process.env.NODE_ENV === "production"
? { /* production config, incl. `server` key */ }
: { /* development config */ } |
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.
-
Very nice to have the new
serverremix.config.js, but not I loose the "hot reload" fromremix devMy current solution is this:
remix.config.dev.js
remix.config.prod.js
Some way to avoid copying
.configfiles would be much better!BTW:this way I must add remix.config.js to .gitignore
Beta Was this translation helpful? Give feedback.
All reactions