chore: 添加extraWatchFiles配置
This commit is contained in:
parent
7208263eb6
commit
b902f9d5c5
|
|
@ -9,8 +9,8 @@ import baiduCode from './config/baiduCode' // 百度统计hm码
|
|||
import htmlModules from './config/htmlModules' // 自定义插入的html块
|
||||
|
||||
export default defineConfig4CustomTheme<VdoingThemeConfig>({
|
||||
theme: 'vdoing', // 使用npm包主题
|
||||
// theme: resolve(__dirname, '../../vdoing'), // 使用本地主题
|
||||
// theme: 'vdoing', // 使用npm包主题
|
||||
theme: resolve(__dirname, '../../vdoing'), // 使用本地主题
|
||||
|
||||
locales: {
|
||||
'/': {
|
||||
|
|
@ -325,5 +325,10 @@ export default defineConfig4CustomTheme<VdoingThemeConfig>({
|
|||
|
||||
markdown: {
|
||||
lineNumbers: true
|
||||
}
|
||||
},
|
||||
|
||||
// 监听文件变化并重新构建
|
||||
extraWatchFiles: [
|
||||
'.vuepress/config.ts'
|
||||
]
|
||||
})
|
||||
|
|
|
|||
Loading…
Reference in New Issue