Recompiling on ANY file change #239
Replies: 2 comments
-
Can you reproduce with a simple example? Are you on the latest version of Shakapacker? |
Beta Was this translation helpful? Give feedback.
0 replies
-
Shakapacker should only be recompiling on changes to files in the source_path. If anyone can reproduce this, please open an issue with a simple repository. |
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
-
Hi all
Trying to update a rails 6 app to Shakapacker and running into an annoying issue. If I have webpack-dev-server running it will trigger a recompile of assets on a change to any file in the project - including ruby code.
So if i just update a rails controller it recompiles and reloads in the browser.
I want this behavior for changes to JS code but not ruby.
I have these settings in webpacker.yml
I think that's the relevant bits. Any thoughts? Thanks
Beta Was this translation helpful? Give feedback.
All reactions