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": { "scripts": {
"prepare": "husky install", "prepare": "husky install",
"build": "turbo build", "build": "turbo build",
"dev": "turbo watch dev", "dev": "turbo dev",
"test": "turbo test" "test": "turbo test"
}, },
"husky": { "husky": {

View file

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

View file

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