Skip to content

Commit cb1d474

Browse files
authored
Update run.js
1 parent b6b48fa commit cb1d474

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/cli/run.js

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -163,7 +163,8 @@ module.exports = function (argv) {
163163
// Support nohup
164164
// https://github.com/typicode/json-server/issues/221
165165
process.stdin.on('error', () => {
166-
console.log(' Error, can\'t read from stdin')
166+
console.log(` Error, can't read from stdin`)
167+
console.log(` Creating a snapshot from the CLI won't be possible`)
167168
})
168169
process.stdin.setEncoding('utf8')
169170
process.stdin.on('data', (chunk) => {

0 commit comments

Comments
 (0)