Skip to content

Commit 58e420f

Browse files
committed
Small improvements.
1 parent f309784 commit 58e420f

File tree

3 files changed

+7
-7
lines changed

3 files changed

+7
-7
lines changed

package.json

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -11,13 +11,13 @@
1111
"build:deps": "lerna run build:dev --scope codesandbox-api --scope @codesandbox/notifications && lerna run build:dev --scope @codesandbox/common && lerna run build:dev --scope vscode-textmate --scope codesandbox-browserfs --scope node-services && lerna run build:dev --scope sse-hooks",
1212
"build:common": "lerna run build:dev --scope @codesandbox/common --stream",
1313
"build:dynamic": "lerna run build --scope dynamic-pages --stream",
14-
"start": "yarn build:deps && lerna run start --scope app --stream",
14+
"start": "yarn build:deps && yarn start:fast",
1515
"start:overmind": "yarn build:deps && concurrently \"lerna run start --scope app --stream\" \"overmind-devtools\"",
16-
"start:fast": "lerna run start --scope app --stream",
16+
"start:fast": "cd packages/app && yarn start",
1717
"start:vscode": "cross-env VSCODE=1 yarn start:fast & cd standalone-packages/monaco-editor && yarn simpleserver & cd standalone-packages/vscode && yarn watch",
1818
"start:dynamic": "lerna run dev --scope dynamic-pages --stream",
1919
"start:common": "lerna run start --scope common --stream",
20-
"start:home": "lerna run start --scope homepage --stream",
20+
"start:home": "cd packages/homepage && yarn start",
2121
"start:test": "lerna run start:test --scope app --stream",
2222
"start:dev_api": "lerna run start:dev_api --scope app --stream",
2323
"test": "lerna run test --ignore codesandbox-browserfs",

packages/app/config/webpack.common.js

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -50,11 +50,11 @@ const ESLINT_PLUGIN_VUE_INDEX = `module.exports = {
5050

5151
const sepRe = `\\${path.sep}`; // path separator regex
5252

53-
const threadConfig = {
53+
const threadPoolConfig = {
5454
workers: 2,
5555
};
5656

57-
threadLoader.warmup(threadConfig, ['babel-loader']);
57+
threadLoader.warmup(threadPoolConfig, ['babel-loader']);
5858

5959
module.exports = {
6060
entry: SANDBOX_ONLY
@@ -169,7 +169,7 @@ module.exports = {
169169
use: [
170170
{
171171
loader: 'thread-loader',
172-
options: threadConfig,
172+
options: threadPoolConfig,
173173
},
174174
{
175175
loader: 'babel-loader',

packages/app/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
"license": "MIT",
55
"private": true,
66
"scripts": {
7-
"start": "cross-env LOCAL_SERVER=1 LOCAL_DEV=1 node scripts/start.js",
7+
"start": "cross-env LOCAL_SERVER=1 LOCAL_DEV=1 NODE_OPTIONS=\"--max-old-space-size=4096\" node scripts/start.js",
88
"start:sandbox": "cross-env SANDBOX_ONLY=true node scripts/start.js",
99
"start:dev_api": "node scripts/start.js",
1010
"start:test": "cross-env LOCAL_SERVER=1 SANDBOX_ONLY=true node scripts/start.js",

0 commit comments

Comments
 (0)