Commit 70bf0807 authored by Mike Greiling's avatar Mike Greiling Committed by Clement Ho

Resolve "100% CPU for webpack-dev-server running in GDK"

parent 45453c27
......@@ -9,6 +9,7 @@
"karma": "BABEL_ENV=${BABEL_ENV:=karma} karma start --single-run true config/karma.config.js",
"karma-coverage": "BABEL_ENV=coverage karma start --single-run true config/karma.config.js",
"karma-start": "BABEL_ENV=karma karma start config/karma.config.js",
"postinstall": "node ./scripts/frontend/postinstall.js",
"prettier-staged": "node ./scripts/frontend/prettier.js",
"prettier-staged-save": "node ./scripts/frontend/prettier.js save",
"prettier-all": "node ./scripts/frontend/prettier.js check-all",
const chalk = require('chalk');
// check that fsevents is available if we're on macOS
if (process.platform === 'darwin') {
try {
} catch (e) {
console.error(`${'error')} Dependency postinstall check failed.`);
The fsevents driver is not installed properly.
If you are running a new version of Node, please
ensure that it is supported by the fsevents library.
You can try installing again with \`${chalk.cyan('yarn install --force')}\`
console.log(`${'success')} Dependency postinstall check passed.`);
This diff is collapsed.
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment