Skip to content

Commit

Permalink
feat(watch): add chokidar to watch files on cli use and enable to wat…
Browse files Browse the repository at this point in the history
…ch files as vuepress plugin
  • Loading branch information
ph1p committed Sep 2, 2021
1 parent 114d6cf commit c9694a3
Show file tree
Hide file tree
Showing 12 changed files with 793 additions and 52 deletions.
17 changes: 17 additions & 0 deletions example/documentation/.vuepress/config.js
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,23 @@ module.exports = {
dest: 'public',
title: 'Hello vuepress-jsdoc',
description: 'Just playing around with vuepress-jsdoc',
plugins: [
[
// require('vuepress-jsdoc')
require('../../../dist/index.js').default,
{
folder: 'code',
jsDocConfigPath: './jsdoc.json',
source: './src',
dist: './documentation',
title: 'API',
exclude: 'class.js',
partials: './partials/*.hbs',
readme: './README.md',
watch: true
}
]
],
locales: {
'/': {
title: 'vuepress-jsdoc',
Expand Down
1 change: 1 addition & 0 deletions example/documentation/code/test.md
Original file line number Diff line number Diff line change
Expand Up @@ -81,5 +81,6 @@ Section 1

Section 2




1 change: 1 addition & 0 deletions example/documentation/code/vue-md.md
Original file line number Diff line number Diff line change
Expand Up @@ -63,5 +63,6 @@ Section 1

Section 2




Loading

0 comments on commit c9694a3

Please sign in to comment.