These are chat archives for jescalan/roots

4th
Jun 2015
Henry Snopek
@hhsnopek
Jun 04 2015 14:01
could you put the error output into a gist and link me?
Noel Quiles
@EnMod
Jun 04 2015 14:02
Sure thing
Will do so since roots watch -e production is outputting the same error...but affecting another subdirectory of assets
one sec
details in the upcoming gist
Noel Quiles
@EnMod
Jun 04 2015 14:09
Henry Snopek
@hhsnopek
Jun 04 2015 14:13
very strange...
hmm
Noel Quiles
@EnMod
Jun 04 2015 14:18
Yeah...given that when I comment out those lines in roots-contentful's config everything is fine, it seems that what those lines are doing to utilize my _post.jade view are causing this issue
Noel Quiles
@EnMod
Jun 04 2015 14:29
It seems to specifically be roots-contentful, since the error persists even after removing PostCSS from the equation
Noel Quiles
@EnMod
Jun 04 2015 14:34
It's the template: option for roots-contentful at fault, whatever that option is doing, since I commented out just the template: option and all works fine (with the obvious exception of no single entry views being generated)
Henry Snopek
@hhsnopek
Jun 04 2015 15:46
that's very weird
you should look at how the template option works in https://github.com/carrot/roots-contentful
Noel Quiles
@EnMod
Jun 04 2015 15:52

Right, I took a look at how it works and it looks like things should be fine, but aren't working as expected. In the extension's index.coffee I found the following line under the section of code that does single entry view compilation:

template = path.join(@roots.root, t.template)

I'm thinking @roots.root is somehow being changed when my settings are changed...for whatever reason?

Henry Snopek
@hhsnopek
Jun 04 2015 15:53
I'm not sure, you should definitely investigate further though
Noel Quiles
@EnMod
Jun 04 2015 15:58
doing that now, thanks for the insight
Jan Viehweger
@janviehweger
Jun 04 2015 16:52
hey guys, i fixed a bug in the css-pipeline extension. When using the styles.css.styl naming scheme (for PostCSS) AND omitting the optional out param, files get named like this styles.css.css in html. I created a pull request to the repo. In the meantime you can use my forked version.
Henry Snopek
@hhsnopek
Jun 04 2015 16:52
sweet
Noel Quiles
@EnMod
Jun 04 2015 16:52
That's good to know, good stuff :+1:
Henry Snopek
@hhsnopek
Jun 04 2015 16:53
@EnMod see if that contributes to your issue
Noel Quiles
@EnMod
Jun 04 2015 16:55
Well, I'm not sure that it will, as roots-contentful is what I've cornered it to, but I can try it and see since only CSS files are affected by the issue. Mind, my issue persists even when rendering CSS without the css-pipeline extension.
Henry Snopek
@hhsnopek
Jun 04 2015 16:55
ah yes that's right
:thumbsup: