We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 74887c5 commit 6da9a5fCopy full SHA for 6da9a5f
packages/@vuepress/core/lib/node/App.js
@@ -41,6 +41,9 @@ module.exports = class App {
41
this.options = options
42
this.sourceDir = this.options.sourceDir || path.join(__dirname, 'docs.fallback')
43
logger.debug('sourceDir', this.sourceDir)
44
+ if (!fs.existsSync(this.sourceDir)) {
45
+ logger.warn(`Source directory doesn't exist: ${chalk.yellow(this.sourceDir)}`)
46
+ }
47
48
const { tempPath, writeTemp } = createTemp(options.temp)
49
this.tempPath = tempPath
0 commit comments