Open vdecree opened 10 years ago
Thanks Mat,
I can't look into it deeply at the moment but I guess it has something to do with the require('child_process')
in jekyll-build
and jekyll-watch
.
Can you try running one of these tasks alone?
gulp jekyll-watch
See what errors pop up, if any.
It is probably an issue with an incompatible version of Node, Ruby, Sass, etc. Try updating these.
Do you have Ruby (and Sass) installed?
In a similar issue installing/updating Ruby Sass with gem install sass
fixed it. See https://github.com/sindresorhus/gulp-ruby-sass/issues/9
Also: see http://stackoverflow.com/questions/21856861/running-jekyll-as-a-child-process-in-gulp-node for possible fixes (if you're on Windows)
Hi David,
I am indeed on windows and I found that last link did the trick. I changed the code to use exec
and all seems be working good. Thank for that!
I did also notice when running locally that where you've used markdown such as:
{: .message}
This doesn't appear in browser-sync to work, i just see the markdown syntax and not the output you'd expect. Is this something to do with how i'm viewing it locally?
\ edit — after some testing although the exec
fixed the errors, the tasks themselves don't appear to run when you use gulp
to run everything.
Hey @vdecree
The Grunt/Gulp stuff is a bit of a mess still. I need to clean this up better, apologies. I'll look into it and see if I can make it run better.
Does it work correctly if you by-pass the Grulp tasks and simply run a jekyll build --config=_config.dev.yml
?
Hey there,
This project looks great, just wanted to give it a go. However whenever I run
gulp
I'm getting:Any ideas?