Skip to content

Commit 87c1e3f

Browse files
t3dotggclaude
andcommitted
fix(marketing): typecheck cache no longer misses when the shell env changes
Co-Authored-By: Claude Opus 5.5 <[email protected]>
1 parent 8f66e67 commit 87c1e3f

1 file changed

Lines changed: 6 additions & 0 deletions

File tree

‎apps/marketing/astro.config.mjs‎

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,11 @@
11
import { defineConfig } from "astro/config";
22

3+
// Astro loads env with an empty prefix, and under `vp run` Vite+'s loadEnv then reports every
4+
// variable to the task cache. Any env difference (TERM, VP_RAW_SUBCOMMAND, an agent's session
5+
// vars) would rerun `astro check`. Without the runner client, loadEnv reads process.env directly;
6+
// file tracking does not use this client.
7+
delete process.env.VP_RUN_NODE_CLIENT_PATH;
8+
39
export default defineConfig({
410
site: "https://t3.codes",
511
server: {

0 commit comments

Comments
 (0)