Skip to content

Commit 3f8d631

Browse files
committed
add api script
1 parent 5d30bdb commit 3f8d631

2 files changed

Lines changed: 3 additions & 0 deletions

File tree

package.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,7 @@
1010
"scripts": {
1111
"lint": "eslint --fix src tools tests --ext .ts",
1212
"build": "tsc",
13+
"api": "ts-node ./src/api/index.ts",
1314
"test": "jest --config jestconfig.json",
1415
"start": "npm run build && electron ./dist/src/main.js --enable-logging --remote-debugging-port=9222",
1516
"atlas": "node ./dist/tools/build-atlas.js",

src/api/index.ts

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,6 @@
1+
import { LOG_MAJOR } from '../util/log_util';
12
import { startServer } from './server';
23

34
// Start the API server
5+
LOG_MAJOR("Starting API server...");
46
startServer();

0 commit comments

Comments
 (0)