We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
vuepress dev
1 parent dcca9fd commit 39e9673Copy full SHA for 39e9673
packages/@vuepress/core/lib/dev.js
@@ -80,7 +80,8 @@ module.exports = async function dev (sourceDir, cliOptions = {}) {
80
const { host, displayHost } = await resolveHost(cliOptions.host || ctx.siteConfig.host)
81
82
// debug in a running dev process.
83
- process.stdout.on('data', chunk => {
+ process.stdin &&
84
+ process.stdin.on('data', chunk => {
85
const parsed = chunk.toString('utf-8').trim()
86
if (parsed === '*') {
87
console.log(Object.keys(ctx))
0 commit comments