google / google/wireit

Impossible to skip wireit cache

Open
#577 7 comments 10 reactions 1 assignee Claimed by @aomarks View on GitHub
Dominant language
TypeScript
Stars
6.4k
Forks
128
Avg merge
4d 10h
Merged PRs (30d)
4

Description

I have tried the following invocations, following details in the Wireit readme...

```
export CI=true && export WIREIT_CACHE=none && npm exec run-s check lint test build
```

```
CI=true WIREIT_CACHE=none npm exec run-s check lint test build
```

They both result in the following which visibly uses the cache, making it almost impossible to work with wireit. A workaround is to hunt down every `.wireit` folder and remove it whenever you wish to prove npm tasks for real.

```sh
> @lauf/store-follow@1.1.2-alpha.9 check
> wireit

✅ [check] Already fresh

> @lauf/store-follow@1.1.2-alpha.9 lint
> wireit

✅ [lint] Already fresh

> @lauf/store-follow@1.1.2-alpha.9 test
> wireit

✅ [test] Already fresh

> @lauf/store-follow@1.1.2-alpha.9 build
> wireit

✅ [../queue:build] Already fresh
✅ [../store:build] Already fresh
✅ [build] Already fresh
```

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.