Exemplo n.º 1
0
gulp.task('watch', ['default'], function() {
  wintersmith.preview();
  gulp.watch( [baseDir + 'stylus/**/*.styl'], ['styles:build'] )
});
Exemplo n.º 2
0
gulp.task('preview', function() {
  // Tell Wintersmith to run in preview mode
  runWintersmith.preview();
});
Exemplo n.º 3
0
gulp.task('preview', ['coffee', 'compass'], function() {
  console.log('Starting preview');
  wintersmith.settings.configFile = 'config-preview.json';
  console.log('Config file set to: ' + wintersmith.settings.configFile);
  wintersmith.preview();
});