shakyShane / jekyll-gulp-sass-browser-sync

A starter project including full setup for Jekyll, GulpJS, SASS & BrowserSync
728 stars 169 forks source link

Jekyll not generating during 'gulp' #16

Open brttwrd opened 9 years ago

brttwrd commented 9 years ago

When I run 'gulp', it completes but never shows the

Configuration file: C:/PATH/././_config.yml
            Source: C:/PATH/./###
       Destination: C:/PATH/././_site
      Generating...
                    done.

part. I can still get it to build by running 'jekyll build' but the gulp file doesn't seem to run it.

Running Windows 8.1

Edit: Also, I had to use the

return cp.exec('jekyll', ['build'], {stdio: 'inherit'}).on('close', done);

solution to get 'gulp' to run without error

brttwrd commented 9 years ago

Fixed by switching to

return cp.spawn('jekyll.bat', ['build'], {stdio: 'inherit'}).on('close', done);