Files
pnpm/src/runServerInBackground.ts
Zoltan Kochan e4ce9c5a94 feat: running server in the background (#995)
* feat: running server in the background

close #960

* feat: store server can run in the background

* fix: update diable to version 4.0.1

* feat(help): add server start/stop to commands list

* feat: better info messages about server start
2018-01-19 01:38:10 +02:00

7 lines
203 B
TypeScript

import diable = require('diable')
import path = require('path')
const pnpm = path.join(__dirname, 'bin', 'pnpm.js')
export default () => diable.daemonize(pnpm, ['server', 'start'], {stdio: 'inherit'})