Skip to content

Commit

Permalink
Include ui browser sync option
Browse files Browse the repository at this point in the history
This allows specifying a custom UI port (to mirror the ability to change the default port) or disabling the UI entirely.

See https://browsersync.io/docs/options#option-ui
  • Loading branch information
dhritzkiv authored Feb 10, 2020
1 parent f6771a0 commit ab0b7c8
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,7 @@ const self = module.exports = {
baseDir: config.build.destination.path,
directory: config.browsersync.directory
},
ui: config.browsersync.ui,
port: config.browsersync.port || 3000,
notify: config.browsersync.notify,
tunnel: config.browsersync.tunnel,
Expand Down

0 comments on commit ab0b7c8

Please sign in to comment.