Skip to content

rewatch watch on clean repo triggers a second, empty build #7446

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
cknitt opened this issue May 9, 2025 · 0 comments
Open

rewatch watch on clean repo triggers a second, empty build #7446

cknitt opened this issue May 9, 2025 · 0 comments
Assignees
Milestone

Comments

@cknitt
Copy link
Member

cknitt commented May 9, 2025

In my company project, doing

yarn rewatch clean
yarn rewatch watch

does this:

[1/7] 📦 Built package tree in 0.01s
[2/7] 👀 Found source files in 0.00s
[3/7] 📝 Read compile state 0.00s
[4/7] 🧹 Cleaned 0/0 0.00s
[5/7] 🧱 Parsed 1135 source files in 2.99s
[6/7] 🌴 Collected deps in 0.01s
[7/7] 🤺 Compiled 1135 modules in 4.36s

✨ Finished initial compilation in 7.37s

[1/7] 📦 Built package tree in 0.01s
[2/7] 👀 Found source files in 0.00s
[3/7] 📝 Read compile state 0.19s
[4/7] 🧹 Cleaned 0/1356 0.00s
[5/7] 🧱 Parsed 0 source files in 0.00s
[6/7] 🌴 Collected deps in 0.01s
[7/7] 🤺 Compiled 0 modules in 0.00s

✨ Finished compilation in 0.23s

(i.e. it triggers a second, empty build)

@cknitt cknitt added this to the v12 milestone May 9, 2025
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