Skip to content

Commit e517eb1

Browse files
committed
Added server termination instruction log
1 parent 0dc683f commit e517eb1

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

utils/previewDocs.js

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,6 @@
11
#!/usr/bin/env node
22

33
require('child_process').exec('docsify serve docs').stdout.on('data', data => {
4-
console.log(data) ; require('open')('http://localhost:3000') })
4+
console.log(data) ; console.log('To stop the server, press Ctrl+C')
5+
require('open')('http://localhost:3000')
6+
})

0 commit comments

Comments
 (0)