This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| /** | |
| * loadData.js | |
| * | |
| * An utility file adapted from https://github.com/vuejs/blog/blob/master/.vitepress/getPosts.js | |
| * | |
| * Main change : reload posts if a change has been detected on a watched directory. | |
| * | |
| * The update is triggered by using 'touch' the config.js file | |
| * | |
| * Note : this file is located in a `utils` subfolder of the `.vitepress` folder, change the path to conform to your setup. |