diff --git a/.vscode/tasks.json b/.vscode/tasks.json index b9746e3..ae5bf4b 100644 --- a/.vscode/tasks.json +++ b/.vscode/tasks.json @@ -11,6 +11,14 @@ "$tsc" ], "group": "build" + }, + { + "label": "Dev server (Astro)", + "type": "shell", + "command": "npm run dev", + "args": [], + "isBackground": true, + "group": "build" } ] } \ No newline at end of file diff --git a/src/components/Header.astro b/src/components/Header.astro index 2fa7c8a..b1e3b2c 100644 --- a/src/components/Header.astro +++ b/src/components/Header.astro @@ -27,7 +27,7 @@ function isActivePath(linkPath: string, currentPath: string): boolean {