mirror of
https://github.com/facebook/docusaurus.git
synced 2025-05-04 20:57:17 +02:00
chore: refactor & fix typo
This commit is contained in:
parent
dd5757ce65
commit
c5dfddaf61
6 changed files with 3 additions and 3 deletions
|
@ -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
|
||||
});
|
||||
|
|
|
@ -7,8 +7,8 @@
|
|||
"blogi": "bin/blogi.js"
|
||||
},
|
||||
"scripts": {
|
||||
"dev": "node bin/blogi dev blog",
|
||||
"build": "node bin/blogi build blog",
|
||||
"dev": "node bin/blogi dev examples",
|
||||
"build": "node bin/blogi build examples",
|
||||
"prettier": "prettier --config .prettierrc --write \"lib/**/*.js\" \"bin/**/*.js\" \"test/**/*.js\"",
|
||||
"lint": "eslint --cache \"lib/**/*.js\" \"bin/**/*.js\" \"test/**/*.js\"",
|
||||
"test": "jest"
|
||||
|
|
Loading…
Add table
Reference in a new issue