diff --git a/package.json b/package.json index fd3f08fe..b3173ebd 100644 --- a/package.json +++ b/package.json @@ -36,7 +36,7 @@ "detect-port": "1.2.2", "figures": "2.0.0", "filesize": "3.5.11", - "fs-extra": "4.0.3", + "fs-extra": "4.0.2", "gzip-size": "4.1.0", "inquirer": "3.3.0", "minimist": "1.2.0", @@ -93,7 +93,7 @@ "whatwg-fetch": "2.0.3", "webpack": "3.10.0", - "autoprefixer": "7.2.2", + "autoprefixer": "7.2.1", "babel-loader": "7.1.2", "case-sensitive-paths-webpack-plugin": "2.1.1", "copy-webpack-plugin": "4.2.3", @@ -108,7 +108,7 @@ "uglifyjs-webpack-plugin": "1.1.2", "url-loader": "0.6.2", "webpack-dev-middleware": "1.12.2", - "webpack-dev-server": "2.9.7", + "webpack-dev-server": "2.9.5", "webpack-hot-middleware": "2.21.0" }, "devDependencies": { diff --git a/tests/commands/projects-test.js b/tests/commands/projects-test.js index 0286ccc0..723716fd 100644 --- a/tests/commands/projects-test.js +++ b/tests/commands/projects-test.js @@ -106,7 +106,9 @@ describe('sample projects', function() { console.log('HMR open: changing file in 5s') setTimeout(() => { state = States.CHANGED_FILE + console.log('HMR open: set state = CHANGED_FILE') let content = fs.readFileSync(path.join(tmpDir, 'src/App.js'), 'utf-8') + console.log('HMR open: changing file now') fs.writeFileSync(path.join(tmpDir, 'src/App.js'), content.replace('Welcome to', 'Change')) }, 5000) } @@ -117,7 +119,9 @@ describe('sample projects', function() { } hmrClient.onmessage = e => { + // Ignore hearbeat if (e.data === '\uD83D\uDC93') { + console.log(e.data) return }