File tree Expand file tree Collapse file tree
packages/cli/snap-tests/command-pack-monorepo Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -6,6 +6,10 @@ index.cjs
66~/packages/hello$ vp pack ◉ cache hit, replaying
77vp run: cache hit, <variable>ms saved.
88
9+ > cd packages/hello && vp run build 2>&1 | grep 'cache hit' # should hit cache in sub dir
10+ ~/packages/hello$ vp pack ◉ cache hit, replaying
11+ vp run: cache hit, <variable>ms saved.
12+
913> echo 'export function hello() { console.log("changed"); }' > packages/hello/src/hello.ts
1014> vp run hello#build 2>&1 | grep 'cache miss' # should miss cache after source change
1115~/packages/hello$ vp pack ○ cache miss: 'packages/hello/src/hello.ts' modified, executing
Original file line number Diff line number Diff line change 66 },
77 " ls packages/hello/dist # should have the library" ,
88 " vp run hello#build 2>&1 | grep 'cache hit' # should hit cache" ,
9+ " cd packages/hello && vp run build 2>&1 | grep 'cache hit' # should hit cache in sub dir" ,
910 " echo 'export function hello() { console.log(\" changed\" ); }' > packages/hello/src/hello.ts" ,
1011 " vp run hello#build 2>&1 | grep 'cache miss' # should miss cache after source change" ,
1112 {
You can’t perform that action at this time.
0 commit comments