ixkaito / frasco

Quick starter for Jekyll including full setup for Sass, PostCSS, Autoprefixer, stylelint, TypeScript, Webpack, ESLint, imagemin, Browsersync, etc.
https://ixkaito.github.io/frasco/
MIT License
132 stars 20 forks source link

Option to "bundle exec" jekyll #18

Closed rdricco closed 7 years ago

rdricco commented 8 years ago

I couldn't execute the gulp task without the bundle exec before jekyll command. To work I needed to change lines 75 and 168 on your gulpfile.js:

before: return cp.spawn(jekyll, ['build', '--config', jekyllConfig], {stdio: 'inherit', env: process.env}) after: return cp.exec('bundle', ['exec', 'jekyll', '--config', jekyllConfig], {stdio: 'inherit', env: process.env})

ixkaito commented 7 years ago

@rdricco

Thank you for your report. I'll test for this.

rdricco commented 7 years ago

It is not necessary, I found we can run bundle exec npm start. This command works fine, even the config.yml can be edited (except the gems) without the need of reload the script. I think could be a good idea to mention this command on instructions page.

ixkaito commented 7 years ago

@rdricco Thanks for your information! I didn't notice bundle exec npm start works. I'll add this to the documentation :)