janosrusiczki / japr

Jekyll Asset Pipeline Reborn - Powerful asset pipeline for Jekyll that collects, converts and compresses JavaScript and CSS assets.
MIT License
51 stars 9 forks source link

Jekyll enters infinite regenerate loop when using JAPR #17

Closed steinsag closed 6 years ago

steinsag commented 9 years ago

I added JAPR to my project and it works fine generating a single JS and CSS file.

However, if I'm in Jekyll watch mode, the first change I do to any page, layout, include, etc. triggers an infinite loop regenerating everything. Does that work for anyone currently?

I'm using jekyll 2.5.2.

lawwantsin commented 9 years ago

yeah, happening for me too, same version. Not infinite but way too much regeneration of assets over and over.

wilzbach commented 9 years ago

did you manage to find a fix for this?

steinsag commented 9 years ago

No, I found no work-around...

davkal commented 9 years ago

11 shows the workaround, just configure the staging path in _config.yml to be one level up:

asset_pipeline:
  staging_path: ../.asset_pipeline