From a58517feedd22bc4d69c61da5f34e827af2591e1 Mon Sep 17 00:00:00 2001 From: Matheus Fernandes Date: Sat, 21 Jan 2017 21:40:50 -0200 Subject: [PATCH] Make sure to rebuild `node-pty` after installing it --- package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package.json b/package.json index bd37c513..06a184c7 100644 --- a/package.json +++ b/package.json @@ -8,7 +8,7 @@ "lint": "xo", "test": "npm run lint", "prepush": "npm test", - "postinstall": "install-app-deps", + "postinstall": "install-app-deps && rebuild-node-pty", "rebuild-node-pty": "electron-rebuild -f -w app/node_modules/node-pty -m app", "dist": "npm run build && cross-env BABEL_ENV=production babel --out-file app/dist/bundle.js --no-comments --minified app/dist/bundle.js && build", "clean": "npm cache clear && rm -rf node_modules && rm -rf app/node_modules && rm -rf app/dist"