Do not recompile the sketch if there are no changes and libraries have not changed #2204
Open
3 tasks done
Labels
topic: build-process
Related to the sketch build process
topic: code
Related to content of the project itself
type: enhancement
Proposed improvement
Describe the request
If a sketch is recompiled twice in a row, the Arduino-preprocessed sketch
Sketch.ino.cpp
is recompiled and re-linked even if not necessary.Describe the current behavior
If you do the same compile twice in a row:
🐛 The sketch file
Blink.ino.cpp
is recompiled even if there are no changes.The sketch and linking phase could be completely skipped in this particular case.
Arduino CLI version
nightly
Operating system
N/A
Operating system version
N/A
Additional context
Related to #1996
Issue checklist
The text was updated successfully, but these errors were encountered: