Created
March 8, 2019 11:06
-
-
Save descovi/94b949fb9850f6b7eb37f3ed32d41a75 to your computer and use it in GitHub Desktop.
webpacker config for hot reload with docker
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
development: | |
<<: *default | |
host: webpacker | |
hmr: true | |
compile: true | |
# Reference: https://webpack.js.org/configuration/dev-server/ | |
dev_server: | |
https: false | |
host: webpacker | |
port: 3035 | |
public: localhost:3035 | |
hmr: true | |
# Inline should be set to true if using HMR | |
inline: true | |
overlay: true | |
compress: true | |
disable_host_check: true | |
use_local_ip: false | |
quiet: false | |
headers: | |
'Access-Control-Allow-Origin': '*' | |
watch_options: | |
ignored: /node_modules/ |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Hello, I'm trying to configure rails and web packer with docker. Webpacker seems to compile, but the styles are not applied. Any idea? I tried to attach my files but I don't know why I can't do it :(