Skip to content
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

precompile is needed after changing CDN_HOST, but it shows "Everything's up-to-date. Nothing to do" #14379

Closed
OmmyZhang opened this issue Jul 23, 2020 · 3 comments · Fixed by #14381

Comments

@OmmyZhang
Copy link
Contributor

bundle exec rails asserts:precompile is needed after CDN_HOST is changed/added/removed, but it shows "Everything's up-to-date. Nothing to do".

@ClearlyClaire
Copy link
Contributor

Ideally, i'd like the assets to not be dependent on the environment at all…

In the meantime you can force rebuilding the assets with bundle exec rails assets:clobber && bundle exec rails assets:precompile

@OmmyZhang
Copy link
Contributor Author

__webpack_public_path__ may work.

@ClearlyClaire
Copy link
Contributor

ClearlyClaire commented Jul 24, 2020 via email

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants