Open thbar opened 9 years ago
Not sure if this is normal or not, but here is a little something I had issues with.
My setup involves a main folder with a Gemfile and guardfile, and the Jekyll source itself is one folder below, under src (including src/_config.yml).
Gemfile
guardfile
src
src/_config.yml
To make this work with guard-jekyll-plus, I had to provide this:
guard-jekyll-plus
guard 'jekyll-plus', serve: true, source: 'src', config: ['src/_config.yml'] do # SNIP end
Specifying only the config key wouldn't work and leads to issues with layouts not found at build time. Giving only source did not seem to work either.
config
source
I'm not sure if I handled this incorrectly, but if I did, maybe this is worth documenting somewhere to save time to others?
Thanks for your otherwise great extension :-)
It's probably a bug, if you have a 'source' option in your '_config.yml' (since jekyll-plus should load the :source from there).
:source
What does your 'src/_config.yml' look like?
Not sure if this is normal or not, but here is a little something I had issues with.
My setup involves a main folder with a
Gemfile
andguardfile
, and the Jekyll source itself is one folder below, undersrc
(includingsrc/_config.yml
).To make this work with
guard-jekyll-plus
, I had to provide this:Specifying only the
config
key wouldn't work and leads to issues with layouts not found at build time. Giving onlysource
did not seem to work either.I'm not sure if I handled this incorrectly, but if I did, maybe this is worth documenting somewhere to save time to others?
Thanks for your otherwise great extension :-)