We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 5d90279 commit f38be2dCopy full SHA for f38be2d
serveronly/watcher.js
@@ -119,9 +119,9 @@ function startServer () {
119
* Send reload notification to all connected clients
120
*/
121
function notifyClientsToReload () {
122
- const { port } = getServerConfig();
+ const { port, address } = getServerConfig();
123
const options = {
124
- hostname: "localhost",
+ hostname: address,
125
port: port,
126
path: "/reload",
127
method: "GET"
0 commit comments