Skip to content

Commit

Permalink
Fix brain dev mode (#303)
Browse files Browse the repository at this point in the history
Co-authored-by: root <[email protected]>
  • Loading branch information
dappnodedev and root authored Mar 5, 2024
1 parent 5bbd5ae commit 8f12910
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion packages/brain/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
"scripts": {
"test": "yarn run test:unit",
"test:unit": "mocha -r ts-node/register -r dotenv/config --exit --recursive 'tests/**/*.unit.test.ts'",
"start:dev": "yarn run link:ui && nodemon -w src -e js,ts,json --require dotenv/config -x ts-node src/index.ts",
"start:dev": "nodemon -w src -e js,ts,json --require dotenv/config -x node --loader ts-node/esm src/index.ts",
"start:webpack:dev": "yarn build:webpack && yarn run link:ui && webpack --watch --mode development & nodemon -w dist -e js,json --require dotenv/config -x node dist/index.js",
"start:webpack": "yarn run build:webpack && yarn run link:ui && node ./dist/index.js",
"link:ui": "ln -s ../ui/build/ ./uiBuild",
Expand Down
2 changes: 1 addition & 1 deletion packages/common/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
"./package.json": "./package.json"
},
"scripts": {
"start:dev": "nodemon -w src -e js,ts,json --require dotenv/config -x ts-node src/index.ts",
"start:dev": "nodemon -w src -e js,ts,json --require dotenv/config -x node --loader ts-node/esm src/index.ts",
"build": "tsc -p tsconfig.json",
"build:webpack": "tsc -p tsconfig.json",
"lint": "eslint src/**/*.ts",
Expand Down

0 comments on commit 8f12910

Please sign in to comment.