Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Build cache: custom script name and args not taken into account #183

Open
fellowseb opened this issue Apr 27, 2021 · 1 comment
Open

Build cache: custom script name and args not taken into account #183

fellowseb opened this issue Apr 27, 2021 · 1 comment

Comments

@fellowseb
Copy link

Hi,

First of all thanks for this great tool !

I have one issue though that I think could be really useful fixing : when launching a build with a different set of arguments or another custom build script then the cache system should get invalidated.
RushJS for example lists the command line params as one of the four reasons to get a rebuild.

What do you think ?

@sprockow
Copy link

I ultimately had a lot of problems with RushJs and pnpm, but I really liked their caching logic. I'm dealing with some problems with Ultra right now where different types of build outputs are treated the same by the cache, which ultimately causes problems...

My only solution is to add rebuild right now to most of my commands, which would remove one of the biggest benefits of using a tool like ultra in the first place.

Alternatively, if this is more complicated than it seems on the surface, can we at least add support for naming our cache files manually? npx ultra -r -b devBuild --cache ultra.dev.cache.json

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants