Skip to content

jekyll is infinitely compiling when running on docker #51

Open
@antoniom

Description

@antoniom

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

You will see an endless loop of the following messages:

......
jekyll_1  |       Regenerating: 1 file(s) changed at 2018-07-20 15:25:29
jekyll_1  |                     .asset_pipeline/assets/global-126f86ef705d66b48241be588c246da1.css
jekyll_1  | Asset Pipeline: Processing 'css_asset_tag' manifest 'global'
jekyll_1  | Asset Pipeline: Saved 'global-126f86ef705d66b48241be588c246da1.css' to '/srv/jekyll/_site/assets'
jekyll_1  |                     ...done in 0.2914276 seconds.
jekyll_1  | 
jekyll_1  |       Regenerating: 1 file(s) changed at 2018-07-20 15:25:29
jekyll_1  |                     .asset_pipeline/assets/global-126f86ef705d66b48241be588c246da1.css
jekyll_1  | Asset Pipeline: Processing 'css_asset_tag' manifest 'global'
jekyll_1  | Asset Pipeline: Saved 'global-126f86ef705d66b48241be588c246da1.css' to '/srv/jekyll/_site/assets'
jekyll_1  |                     ...done in 0.2699366 seconds.
jekyll_1  | 
jekyll_1  |       Regenerating: 1 file(s) changed at 2018-07-20 15:25:30
jekyll_1  |                     .asset_pipeline/assets/global-126f86ef705d66b48241be588c246da1.css
jekyll_1  | Asset Pipeline: Processing 'css_asset_tag' manifest 'global'
jekyll_1  | Asset Pipeline: Saved 'global-126f86ef705d66b48241be588c246da1.css' to '/srv/jekyll/_site/assets'
jekyll_1  |                     ...done in 0.2881608 seconds.
jekyll_1  | 
jekyll_1  |       Regenerating: 1 file(s) changed at 2018-07-20 15:25:30
jekyll_1  |                     .asset_pipeline/assets/global-126f86ef705d66b48241be588c246da1.css
jekyll_1  | Asset Pipeline: Processing 'css_asset_tag' manifest 'global'
jekyll_1  | Asset Pipeline: Saved 'global-126f86ef705d66b48241be588c246da1.css' to '/srv/jekyll/_site/assets'
jekyll_1  |                     ...done in 0.2700728 seconds.
.....

Is there a bug, or misconfiguration which causes jekyll to regenerate again and again the same assets?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions