...
|
...
|
@@ -56,7 +56,7 @@ gulp.task('compass-watch', function() { |
|
|
|
|
|
// start spm server
|
|
|
gulp.task('spm-doc', function() {
|
|
|
var sd = cp.exec('spm doc');
|
|
|
var sd = cp.exec('spm doc watch --port 8001'); // pc用8001,h5用8000, 跑两个服务器,不冲突
|
|
|
|
|
|
// sd.stdout.on('data', function(data) {
|
|
|
// console.log(data);
|
...
|
...
|
@@ -197,4 +197,4 @@ gulp.task('business', ['libs'], function() { |
|
|
gulp.task('script', function() {
|
|
|
gulp.src('plugin/page/**/*')
|
|
|
.pipe(gulp.dest(rootDist));
|
|
|
}); |
|
|
\ No newline at end of file |
|
|
}); |
...
|
...
|
|