Replies: 1 comment
-
Figured it out. Just needed to set SHAKAPACKER_DEV_SERVER_HOST: "host.docker.internal" for the rails container And the following in the shakapacker.yml:
|
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.
-
I'm running the shakapacker-dev-server with these options changed from the defaults:
The rails server has this environment variable set via: docker-compose.yml
I've connected to the rails docker container and confirmed it can connect to the dev server
However when I try to load a Rails page that uses a
javascript_pack_tag
it's trying to compile the assets from scratch instead of using the dev-server:Am I using the config incorrectly for it to connect to the dev-server?
Beta Was this translation helpful? Give feedback.
All reactions