diff --git a/cli/lib/dev.js b/cli/lib/dev.js
index <HASH>..<HASH> 100644
--- a/cli/lib/dev.js
+++ b/cli/lib/dev.js
@@ -14,7 +14,7 @@ module.exports = opts => {
   opts.webpack = {
     resolve: {
       alias: {
-        'webpack-hot-client/client': path.resolve('../node_modules/webpack-hot-client/client')
+        'webpack-hot-client/client': path.join(__dirname, '../node_modules/webpack-hot-client/client')
       }
     },
     plugins: [
cli: use absolute path for webpack-hot-client resolve