-
Notifications
You must be signed in to change notification settings - Fork 31
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
jekyll is infinitely compiling when running on docker #51
Comments
I think that the problem is related to the watch excluded folders because this plugins is constantly creating and deleting the same folder .asset_pipeline into the root directory. I'm not an expert but I think that "create/delete" events are detected by the watch job and produce the loop in this case. I solve this behavior doing this change in my _config.yml Greetings :) |
Hmm -- I'm having this same issue but the fix doesn't seem to work here, instead I get:
Any other ideas? |
@jmsalazar84 didn't fix it for me also, as it seems (at least for me) the watcher does not care at all that the staging_folder is created in an excluded folder, thus still ends up in a regeneration loop. Setting asset_pipeline:
staging_path: '../.asset-pipeline' or asset_pipeline:
staging_path: '/tmp/.asset-pipeline' both work fine. The latter of course will only work on a *nix-like system. You might want to override this in your CI pipeline |
When running
jekyll serve --watch
from my machine, jekyll-asset-pipeline scans for any css_asset_tag which is then bundled/minified/processed accordingly to the specified configuration.When running the same command over the jekyll docker container it enters an endless loop regenerating the same css/js files To reproduce the problem I have uploaded a default jekyll project, with jekyll-asset-pipeline as an extra dependency.
Steps to reproduce
docker-compose up
_assets\css\custom.css
and add/edit/delete anythingYou will see an endless loop of the following messages:
Is there a bug, or misconfiguration which causes jekyll to regenerate again and again the same assets?
The text was updated successfully, but these errors were encountered: