File tree Expand file tree Collapse file tree 2 files changed +2
-2
lines changed
@vuepress/core/lib/node/dev Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -175,7 +175,7 @@ module.exports = class DevProcess extends EventEmitter {
175175 port : this . port ,
176176 displayHost : this . displayHost ,
177177 publicPath : this . context . base ,
178- clearScreen : this . context . options . clearScreen
178+ clearScreen : this . context . options . clearScreen || ! this . context . options . debug
179179 } ] )
180180
181181 config = config . toConfig ( )
Original file line number Diff line number Diff line change @@ -40,7 +40,7 @@ See [host](../config/README.md#host).
4040Open browser when ready.
4141
4242### --no-clear-screen
43- Do not clear screen when dev server is ready.
43+ Do not clear screen when dev server is ready. Note that dev server will not clear screen if you start it in debug mode.
4444
4545## eject
4646
You can’t perform that action at this time.
0 commit comments