Skip to content

Commit

Permalink
Merge pull request #3075 from cashcat/patch1
Browse files Browse the repository at this point in the history
fix npm start -- --host=0.0.0.0 unuseful
  • Loading branch information
hakimel authored Nov 24, 2021
2 parents c79f4b5 + 13d0f08 commit 2d050a8
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion gulpfile.js
Original file line number Diff line number Diff line change
Expand Up @@ -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}
Expand Down Expand Up @@ -289,7 +290,8 @@ gulp.task('serve', () => {
connect.server({
root: root,
port: port,
host: 'localhost',
host: host,
//host: '0.0.0.0',
livereload: true
})

Expand Down

0 comments on commit 2d050a8

Please sign in to comment.