Merge pull request #3075 from cashcat/patch1

fix npm start -- --host=0.0.0.0 unuseful
edit
Hakim El Hattab 2021-11-24 10:27:02 +01:00 committed by GitHub
commit 2d050a88e2
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 3 additions and 1 deletions

View File

@ -24,6 +24,7 @@ const autoprefixer = require('gulp-autoprefixer')
const root = yargs.argv.root || '.'
const port = yargs.argv.port || 8000
const host = yargs.argv.host || 'localhost'
const banner = `/*!
* reveal.js ${pkg.version}
@ -289,7 +290,8 @@ gulp.task('serve', () => {
connect.server({
root: root,
port: port,
host: 'localhost',
host: host,
//host: '0.0.0.0',
livereload: true
})