diff --git a/package.json b/package.json index 68dc045..e158b85 100644 --- a/package.json +++ b/package.json @@ -18,7 +18,7 @@ "coveralls": "cat ./coverage/lcov.info | coveralls" }, "dependencies": { - "internal-ip": "~1.2.0", + "address": "~1.0.0", "lodash.isequal": "^4.1.4", "tiny-lr": "~0.2.1", "webpack-core": "^0.6.8" @@ -59,4 +59,4 @@ "package.json", "README.md" ] -} \ No newline at end of file +} diff --git a/src/index.js b/src/index.js index fbc2e1d..30d44eb 100644 --- a/src/index.js +++ b/src/index.js @@ -7,7 +7,7 @@ import tinylr from 'tiny-lr'; import { getInjectLivereloadContent } from './util'; import InjectScript from './injectScript'; -const localIP = require('internal-ip')(); +const localIP = require('address').ip(); let lrOpts = { port: 35729,