-
Notifications
You must be signed in to change notification settings - Fork 38
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
Ignores webpacker assets when deciding if things have changed since last release #30
Comments
Yea, this would be a great addition with the new webpacker gem |
Edit and include set :assets_dependencies, %w(app/javascript app/assets lib/assets vendor/assets Gemfile.lock config/routes.rb node_modules) and add set :linked_dirs, fetch(:linked_dirs, []).push('public/packs') |
Everything under node_modules is showing different on every deploy so it's kicking off the compilation of my webpacker stuff even when nothing changes. Any idea why it's happening or how to get around it? |
Try to add set :linked_dirs, fetch(:linked_dirs, []).push('node_modules') or try to add |
I also have the same problem. Adding public/packs to linked_dirs didn't work, nor does node_modules. Plus, committing node_modules to Git is a very bad idea. |
+1 |
1 similar comment
+1 |
This gem does not take into account changes to the webpacker assets and as a result the assets:precompile tasks gets incorrectly ignored.
The text was updated successfully, but these errors were encountered: