From 2c21ee1e003d4f1cab37dacc1d02f6c35152fc43 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E8=B5=A4=E5=9F=8E=E5=B0=81=E9=9B=AA?= <1711253204@qq.com> Date: Tue, 25 Oct 2022 23:20:51 +0800 Subject: [PATCH] Update preview.yml --- preview.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/preview.yml b/preview.yml index bddfa16..dcf2627 100644 --- a/preview.yml +++ b/preview.yml @@ -2,7 +2,7 @@ autoOpen: false # 打开工作空间时是否自动开启所有应用的预览 apps: - port: 4000 # 应用的端口 - run: hexo s # 应用的启动命 + run: npm install hexo-server --save && npm install hexo -g && hexo s # 应用的启动命 command: # 使用此命令启动服务,且不执行run root: ./ # 应用的启动目录 name: 2048 # 应用名称 -- GitLab