Skip to content

Commit 4186c22

Browse files
committed
Init yaml resources on quarto serve. Closes #944
1 parent 7367365 commit 4186c22

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

src/command/serve/cmd.ts

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,7 @@ import { Command } from "cliffy/command/mod.ts";
99

1010
import * as colors from "fmt/colors.ts";
1111
import { error } from "log/mod.ts";
12+
import { initYamlIntelligenceResourcesFromFilesystem } from "../../core/schema/utils.ts";
1213
import { projectContext } from "../../project/project-context.ts";
1314

1415
import { serve } from "./serve.ts";
@@ -42,6 +43,7 @@ export const serveCommand = new Command()
4243
)
4344
// deno-lint-ignore no-explicit-any
4445
.action(async (options: any, input?: string) => {
46+
await initYamlIntelligenceResourcesFromFilesystem();
4547
if (!input) {
4648
error(
4749
"No input passed to serve.\n" +

0 commit comments

Comments
 (0)