mirror of
https://github.com/ionic-team/ionic-framework.git
synced 2025-08-19 19:57:22 +08:00
Gulp serve from root
Lets us load scripts from node_modules
This commit is contained in:
@ -142,11 +142,9 @@ gulp.task('watch', function(done) {
|
|||||||
);
|
);
|
||||||
});
|
});
|
||||||
|
|
||||||
|
|
||||||
gulp.task('serve', function() {
|
gulp.task('serve', function() {
|
||||||
var connect = require('gulp-connect');
|
var connect = require('gulp-connect');
|
||||||
connect.server({
|
connect.server({
|
||||||
root: 'dist',
|
|
||||||
port: flags.port,
|
port: flags.port,
|
||||||
livereload: false
|
livereload: false
|
||||||
});
|
});
|
||||||
|
Reference in New Issue
Block a user