fixes for the add-story command

This commit is contained in:
Joseph Garrone
2024-06-06 09:13:40 +02:00
parent 5bc1f6479d
commit dcb9fbd0f7
4 changed files with 25 additions and 21 deletions

View File

@ -28,7 +28,7 @@ export function startRebuildOnSrcChange() {
console.log(chalk.green("Watching for changes in src/"));
chokidar.watch("src", { ignoreInitial: true }).on("all", async () => {
chokidar.watch(["src", "stories"], { ignoreInitial: true }).on("all", async () => {
await waitForDebounce();
runYarnBuild();