Skip to content

Document how to rebuild package fast #5767

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

Open
senpl opened this issue Mar 26, 2024 · 5 comments
Open

Document how to rebuild package fast #5767

senpl opened this issue Mar 26, 2024 · 5 comments

Comments

@senpl
Copy link

senpl commented Mar 26, 2024

Subject

build

Description

Current guidleines instruction not include information how to build cypress fast.
Rebuild whole project takes around 3 minutes. There probably exist faster way to check changes in one package (eg. driver) file.
I currently do
yarn postinstall & yarn start
but there are probably faster feedback loop to check changes.

@MikeMcC399
Copy link
Contributor

@senpl

Are you referring to the https://github.com/cypress-io/cypress/blob/develop/CONTRIBUTING.md guide ? And are you suggesting that some additional information is needed in that document to speed up working with the Cypress source code?

@senpl
Copy link
Author

senpl commented Mar 27, 2024

Yes. Just to make contributing easier for this that starts.
What package could be tested without long rebuild process and how programmers check their changes fast.
Also additional info about what build steps do would be nice, to share light into what is really needed and what could be skipped.
Anyway basic code change -> change check guide/instructions would be nice.

@MikeMcC399
Copy link
Contributor

This issue is in the wrong repo. If at all it should be in https://github.com/cypress-io/cypress, however in my experience there aren't any short-cuts to speed up yarn install.

@senpl
Copy link
Author

senpl commented May 5, 2025

This is what I needed: https://stackoverflow.com/questions/78223372/fast-package-rebuilding-inside-cypress
Package rebuild process is just not well documented. Documentation of whole cypress build is ok. Usually you just not need to build whole cypress and package you changing is enough.

@MikeMcC399
Copy link
Contributor

@senpl

If you have some suggestions for the CONTRIBUTING / package READMEs like

you could open issues / PRs in the https://github.com/cypress-io/cypress repo where you have already successfully submitted other PRs.

This repo, https://github.com/cypress-io/cypress-documentation, doesn't contain any detailed documentation for contributors to https://github.com/cypress-io/cypress so there is nothing in this repo which could be changed to answer your request.

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

No branches or pull requests

2 participants