aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTom Harley2018-01-31 13:51:01 +0000
committerTom Harley2018-01-31 13:51:01 +0000
commit4a91786bdb733ce296f771da4f595c8a1cd53a0b (patch)
tree6e2b9fa68a2be18fbb54e389e4f2934f9ed19c23
parentmethod stubs added for all Ryan's BE protocol endpoints (diff)
downloadmedicine-4a91786bdb733ce296f771da4f595c8a1cd53a0b.tar.gz
medicine-4a91786bdb733ce296f771da4f595c8a1cd53a0b.zip

Running the server now does not require a build

-rw-r--r--package.json2
-rwxr-xr-xrunmenode.sh4
2 files changed, 3 insertions, 3 deletions
diff --git a/package.json b/package.json
index a58ba86..306b0b7 100644
--- a/package.json
+++ b/package.json
@@ -5,7 +5,7 @@
"scripts": {
"build": "gulp scripts",
"test": "mocha --reporter spec --compilers ts:ts-node/register 'test/**/*.test.ts'",
- "start": "node dist/index.js"
+ "start": "ts-node src/index.ts"
},
"repository": {
"type": "git",
diff --git a/runmenode.sh b/runmenode.sh
index 92276bc..16c023c 100755
--- a/runmenode.sh
+++ b/runmenode.sh
@@ -1,3 +1,3 @@
-#!/bin/bash
+#!/bin/sh
npm run build
-node dist/index.js \ No newline at end of file
+npm start