@@ -57,7 +57,7 @@ gulp.task('help', taskListing.withFilters(function(taskName) {
57
57
gulp . task ( 'serve-and-sync' , [ 'build-docs' ] , function ( cb ) {
58
58
59
59
// execCommands(['harp server'], {}, cb);
60
- execCommands ( [ 'npm run harp' ] , { } , cb ) ;
60
+ execCommands ( [ 'npm run harp -- server . ' ] , { } , cb ) ;
61
61
62
62
var browserSync = require ( 'browser-sync' ) . create ( ) ;
63
63
browserSync . init ( {
@@ -78,7 +78,7 @@ gulp.task('serve-and-sync', ['build-docs'], function (cb) {
78
78
} ) ;
79
79
80
80
gulp . task ( 'serve-and-watch' , function ( cb ) {
81
- execCommands ( [ 'harp server' ] , { } , cb ) ;
81
+ execCommands ( [ 'npm run harp -- server . ' ] , { } , cb ) ;
82
82
devGuideExamplesWatch ( _devguideShredOptions ) ;
83
83
} ) ;
84
84
@@ -168,8 +168,8 @@ gulp.task('git-changed-examples', ['_shred-devguide-examples'], function(){
168
168
} ) ;
169
169
170
170
gulp . task ( 'check-deploy' , function ( ) {
171
- return execPromise ( [ 'harp compile . ./deploy' ] , { } ) . then ( function ( ) {
172
- execPromise ( 'live-server' , { cwd : ' ./deploy'} ) ;
171
+ return execPromise ( [ 'npm run harp -- compile . ./deploy' ] , { } ) . then ( function ( ) {
172
+ execPromise ( 'npm run live-server ./deploy' ) ;
173
173
return askDeploy ( ) ;
174
174
} ) . then ( function ( shouldDeploy ) {
175
175
if ( shouldDeploy ) {
0 commit comments