From b8836a7e2b2397c89f2d14bf1d8047c4e3423836 Mon Sep 17 00:00:00 2001 From: nicco Date: Wed, 27 Dec 2017 22:51:39 +0100 Subject: [PATCH] Forever start and stop --- cache/package.json | 12 +++++++----- 1 file changed, 7 insertions(+), 5 deletions(-) diff --git a/cache/package.json b/cache/package.json index a651959..c5070e2 100644 --- a/cache/package.json +++ b/cache/package.json @@ -2,16 +2,18 @@ "name": "dvb", "version": "1.0.0", "description": "DVB Monitor App", - "dependencies": {}, - "devDependencies": { - "css-loader": "latest", - "style-loader": "latest", - "webpack": "latest" + "dependencies": { + "forever": "latest" }, "repository": { "type": "git", "url": "https://github.com/CupCakeArmy/dvb" }, + "scripts": { + "start": "forever start cache.js", + "stop": "forever stop cache.js", + "restart": "forever restart cache.js" + }, "author": "", "license": "MIT" }