From f9f75c4e345ada44551e6a1281d8b3fe794004fd Mon Sep 17 00:00:00 2001 From: aixianling Date: Tue, 15 Feb 2022 09:15:59 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BC=98=E5=8C=96=E5=B7=A5=E7=A8=8B=E6=9E=84?= =?UTF-8?q?=E5=BB=BA=E8=84=9A=E6=9C=AC?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- bin/serve.js | 1 + 1 file changed, 1 insertion(+) diff --git a/bin/serve.js b/bin/serve.js index bded78e..d03dab1 100644 --- a/bin/serve.js +++ b/bin/serve.js @@ -39,6 +39,7 @@ const chalkTag = { * 遍历应用的方法 */ const findApp = (dir, cb) => { + fsExtra.ensureDirSync(dir) return readdir(dir).then(apps => { return Promise.all(apps.map(e => { let cPath = path.join(dir, e)