fix: dev environment restarts

This commit is contained in:
Rafael Taranto 2025-05-26 07:45:20 +01:00
parent 4c270dcd65
commit 325844624f
3 changed files with 3 additions and 18 deletions

View file

@ -30,7 +30,7 @@
"scripts": {
"prepare": "husky install",
"build": "turbo build",
"dev": "turbo watch dev",
"dev": "turbo dev",
"test": "turbo test"
},
"husky": {

View file

@ -127,8 +127,8 @@
},
"scripts": {
"dev": "concurrently \"npm:server\" \"npm:admin-server\"",
"server": "node bin/lamassu-server --mockScoring --logLevel silly --watch",
"admin-server": "node bin/lamassu-admin-server --dev --logLevel silly --watch",
"server": "node --watch bin/lamassu-server --mockScoring --logLevel silly",
"admin-server": "node --watch bin/lamassu-admin-server --dev --logLevel silly",
"stress-test": "cd tests/stress/ && node index.js 50 -v"
},
"devDependencies": {

View file

@ -6,15 +6,6 @@
"tasks": {
"build": {
"dependsOn": ["^build"],
"inputs": [
"src/**",
"lib/**",
"public/**",
"index.html",
"vite.config.js",
"tsconfig.json",
"package.json"
],
"outputs": ["lib/**", "dist/**", "build/**"]
},
"dev": {
@ -22,12 +13,6 @@
"cache": false,
"persistent": true
},
"lamassu-server#dev": {
"dependsOn": ["^build"],
"cache": false,
"persistent": true,
"interruptible": true
},
"test": {
"dependsOn": ["^build"],
"inputs": ["src/**", "tests/**", "lib/**", "package.json"],