mirror of
https://github.com/Redocly/redoc.git
synced 2024-12-01 12:53:44 +03:00
14 lines
273 B
JavaScript
14 lines
273 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', '.']
|
||
|
}
|
||
|
}, done);
|
||
|
});
|