Skip to content

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

Open
@cknitt

Description

@cknitt

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)

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions