File tree Expand file tree Collapse file tree
packages/cli/snap-tests/vp-build-cache-monorepo Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -7,6 +7,10 @@ index.html
77~/packages/app$ vp build ◉ cache hit, replaying
88vp run: cache hit, <variable>ms saved.
99
10+ > echo '<html><body><script type="module">console.log("changed");</script></body></html>' > packages/app/index.html
11+ > vp run app#build 2>&1 | grep 'cache miss' # should miss cache after source change
12+ ~/packages/app$ vp build ○ cache miss: 'packages/app/index.html' modified, executing
13+
1014> vp run web#build # should build the web
1115> ls packages/web/dist # should have the build output
1216assets
Original file line number Diff line number Diff line change 77 },
88 " ls packages/app/dist # should have the build output" ,
99 " vp run app#build 2>&1 | grep 'cache hit' # should hit cache" ,
10+ " echo '<html><body><script type=\" module\" >console.log(\" changed\" );</script></body></html>' > packages/app/index.html" ,
11+ " vp run app#build 2>&1 | grep 'cache miss' # should miss cache after source change" ,
1012 {
1113 "command" : " vp run web#build # should build the web" ,
1214 "ignoreOutput" : true
You can’t perform that action at this time.
0 commit comments