Skip to content

Commit

Permalink
Merge branch 'master' into upgrade-webpack-babel
Browse files Browse the repository at this point in the history
  • Loading branch information
jhen0409 committed Jul 22, 2023
2 parents 8244766 + ff480dd commit 9e4ecbd
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion npm-package/lib/injectDevToolsMiddleware.tmpl.js
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ function __connectToRND(rndPath, log, cb) {
);
return cb(false);
}
var __c = __net.createConnection({ port: __port }, () => {
var __c = __net.createConnection({ host: '127.0.0.1', port: __port }, () => {
let pass = false;
__c.setEncoding('utf-8');
__c.write(JSON.stringify({ path: rndPath }));
Expand Down
2 changes: 1 addition & 1 deletion npm-package/src/open.js
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ function connectToRND(rndPath, log, cb) {
}
return cb(false);
}
const connection = net.createConnection({ port }, () => {
const connection = net.createConnection({ host: '127.0.0.1', port }, () => {
let pass = false;
connection.setEncoding('utf-8');
connection.write(JSON.stringify({ path: rndPath }));
Expand Down

0 comments on commit 9e4ecbd

Please sign in to comment.