chore: refactor & fix typo

This commit is contained in:
endiliey 2018-08-01 15:52:20 +08:00
parent dd5757ce65
commit c5dfddaf61
6 changed files with 3 additions and 3 deletions

View file

@ -29,7 +29,7 @@ module.exports = async function dev(sourceDir, cliOptions = {}) {
console.error(chalk.red(err.stack));
});
};
const fsWatcher = chokidar.watch(['**/*.md', '.blogi/config.js'], {
const fsWatcher = chokidar.watch(['**/*.md', 'config.js'], {
cwd: sourceDir,
ignoreInitial: true
});