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
Changes to static-bundles.json not recognized when running locally via Docker #5840
Comments
Agreed. I believe I simply overlooked that this file is in the root of the project, and to save on some performance and because I don't want to include Lines 16 to 18 in d3cff63
So I believe we'd just need to move that file to a subfolder and include said folder in that configuration, or include it in the |
Maybe just putting it in |
👍 on putting it in |
The new CSS/JS bundles created for
/whatsnew/
for Fx61 are 404'ing when running locally via Docker, but work fine when running vianpm start
.STR: Running locally via Docker, create a new JS bundle (containing any
.js
file) and include it on any page. You'll see a 404 in the terminal window when loading that page. Running the site vianpm start
loads the new bundle correctly.After a quick look, my guess is that this is due to
static-bundles.json
being a part of the Docker image itself, and not being watched for changes. Having to re-build the Docker image each time a bundle is added is (IMO) too clunky.The text was updated successfully, but these errors were encountered: