diff --git a/bin/index.js b/bin/index.js index 5386188..b06e941 100755 --- a/bin/index.js +++ b/bin/index.js @@ -60,7 +60,6 @@ function start (object, filename) { 'Enter ' + chalk.cyan('s') + ' at any time to create a snapshot of the db' ) - process.stdin.resume() process.stdin.setEncoding('utf8') process.stdin.on('data', function (chunk) { @@ -106,7 +105,6 @@ function start (object, filename) { } console.log() - var server = jsonServer.create() server.use(jsonServer.defaults) server.use(router)