mirror of
https://github.com/Redocly/redoc.git
synced 2024-11-23 00:56:33 +03:00
18 lines
340 B
JavaScript
18 lines
340 B
JavaScript
var gulp = require('gulp');
|
|
var browserSync = require('browser-sync').create('bs');
|
|
|
|
gulp.task('serve', ['watch'], function (done) {
|
|
browserSync.init({
|
|
open: false,
|
|
notify: false,
|
|
port: 9000,
|
|
server: {
|
|
baseDir: './demo',
|
|
routes: {
|
|
'/dist': './dist'
|
|
},
|
|
},
|
|
reloadDelay: 500
|
|
}, done);
|
|
});
|