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

Why is only the second site being crawled in compare? #2

Closed
kimmobrunfeldt opened this issue Aug 16, 2021 · 1 comment
Closed

Why is only the second site being crawled in compare? #2

kimmobrunfeldt opened this issue Aug 16, 2021 · 1 comment

Comments

@kimmobrunfeldt
Copy link
Owner

When running squint compare https://prod.myapp.com https://beta.myapp.com, docs mention that beta site is crawled for paths. Why not both?

@kimmobrunfeldt
Copy link
Owner Author

kimmobrunfeldt commented Aug 16, 2021

To save time. Crawling can be pretty intensive for large sites. If you need a union of all paths, you can run crawl command twice, and use bash sort and uniq to get paths from both versions (untested command):

squint crawl https://prod.myapp.com > paths.txt
squint crawl https://beta.myapp.com >> paths.txt
cat paths.txt | sort | uniq > uniq-paths.txt
squint compare https://prod.myapp.com https://beta.myapp.com --paths-file uniq-paths.txt

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

1 participant