Skip to content

Commit

Permalink
Enable server reload on change
Browse files Browse the repository at this point in the history
  • Loading branch information
Siegrift committed Sep 25, 2023
1 parent 9533d70 commit c6694e7
Show file tree
Hide file tree
Showing 3 changed files with 109 additions and 8 deletions.
7 changes: 5 additions & 2 deletions packages/api/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
"scripts": {
"build": "tsc --project .",
"clean": "rm -rf coverage dist",
"dev": "pnpm ts-node src/index.ts",
"dev": "nodemon --ext ts,js,json,env --exec \"pnpm run start\"",
"docker:build": "docker compose --file docker/docker-compose.yml build",
"docker:start:detach": "docker compose --file docker/docker-compose.yml up --detach",
"docker:start": "docker compose --file docker/docker-compose.yml up",
Expand All @@ -18,13 +18,16 @@
"eslint:fix": "eslint . --ext .js,.ts --fix",
"prettier:check": "prettier --check \"./**/*.{js,ts,md,json}\"",
"prettier:fix": "prettier --write \"./**/*.{js,ts,md,json}\"",
"start": "pnpm ts-node src/index.ts",
"start:prod": "pnpm node dist/src/index.js",
"test": "jest"
},
"license": "MIT",
"devDependencies": {
"@types/express": "^4.17.17",
"@types/lodash": "^4.14.198",
"@types/source-map-support": "^0.5.7"
"@types/source-map-support": "^0.5.7",
"nodemon": "^3.0.1"
},
"dependencies": {
"@api3/promise-utils": "0.4.0",
Expand Down
7 changes: 5 additions & 2 deletions packages/data-pusher/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
"scripts": {
"build": "tsc --project .",
"clean": "rm -rf coverage dist",
"dev": "ts-node src/index.ts",
"dev": "nodemon --ext ts,js,json,env --exec \"pnpm run start\"",
"docker:build": "docker compose --file docker/docker-compose.yml build",
"docker:start:detach": "docker compose --file docker/docker-compose.yml up --detach",
"docker:start": "docker compose --file docker/docker-compose.yml up",
Expand All @@ -17,6 +17,8 @@
"eslint:fix": "eslint . --ext .js,.ts --fix",
"prettier:check": "prettier --check \"./**/*.{js,ts,md,yml,json}\"",
"prettier:fix": "prettier --write \"./**/*.{js,ts,md,yml,json}\"",
"start": "pnpm ts-node src/index.ts",
"start:prod": "pnpm node dist/src/index.js",
"test": "jest"
},
"license": "MIT",
Expand All @@ -40,6 +42,7 @@
"devDependencies": {
"@types/express": "^4.17.17",
"@types/lodash": "^4.14.198",
"@types/source-map-support": "^0.5.7"
"@types/source-map-support": "^0.5.7",
"nodemon": "^3.0.1"
}
}
103 changes: 99 additions & 4 deletions pnpm-lock.yaml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit c6694e7

Please sign in to comment.