Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -88,6 +88,7 @@ Configuration options can be passed to the client by adding querystring paramete
* **overlay** - Set to `false` to disable the DOM-based client-side overlay.
* **reload** - Set to `true` to auto-reload the page when webpack gets stuck.
* **noInfo** - Set to `true` to disable informational console logging.
* **noWarn** - Set to `true` to disable warning console logging.
* **quiet** - Set to `true` to disable all console logging.
* **dynamicPublicPath** - Set to `true` to use webpack `publicPath` as prefix of `path`. (We can set `__webpack_public_path__` dynamically at runtime in the entry point, see note of [output.publicPath](https://webpack.js.org/configuration/output/#output-publicpath))
* **autoConnect** - Set to `false` to use to prevent a connection being automatically opened from the client to the webpack back-end - ideal if you need to modify the options using the `setOptionsAndConnect` function
Expand Down
3 changes: 3 additions & 0 deletions client.js
Original file line number Diff line number Diff line change
Expand Up @@ -49,6 +49,9 @@ function setOverrides(overrides) {
if (overrides.noInfo && overrides.noInfo !== 'false') {
options.log = false;
}
if (overrides.noWarn && overrides.noWarn !== 'false') {
options.warn = false;
}
if (overrides.name) {
options.name = overrides.name;
}
Expand Down