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

Scriptless workspaces should not force rebuilds #115

Open
jpa00 opened this issue Aug 24, 2020 · 3 comments
Open

Scriptless workspaces should not force rebuilds #115

jpa00 opened this issue Aug 24, 2020 · 3 comments
Assignees

Comments

@jpa00
Copy link

jpa00 commented Aug 24, 2020

Currently workspaces without the build script, or which ever script is being run, will force all dependent workspaces to rebuild every time. This causes a huge slowdown when you have workspaces for generic configuration stuff, like browserlist-config or an internal eslint-plugin. For this kind of stuff, there is no point in having a build script, their contents rarely even change AND most other workspaces depend on them.

While it's easy enough to bypass the issue (by making a dummy build script), I think it would make more sense for Ultra to just check/make the cache-json and signal dependencies to be built if the hashes have changed.

@folke
Copy link
Owner

folke commented Nov 23, 2020

Good catch. I'll see if I can fix this.

@pskfyi
Copy link

pskfyi commented Jun 6, 2021

it's easy enough to bypass the issue (by making a dummy build script)

Many thanks to @jpa00 for documenting the workaround for the meantime.

@TenviLi
Copy link

TenviLi commented Feb 20, 2023

it sounds like --if-present-like feature

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

4 participants