Closed PaulRBerg closed 3 months ago
How difficult would it be to support this feature?
Debugging anything in a large code base like Sablier V2 takes up to a minute. Basically, each time I add a new console.log2
in my src
files, 100+ files get recompiled because most of our tests depend on some files in src
.
Solved by #7334
Component
Forge
Describe the feature you would like
During development in large code bases, it it often useful to use the
--match-test
flag to zero in on specific tests. However, making one small change insrc
often leads to Forge recompiling all test files:This operation takes time (minutes) even with the optimizer disabled (and via IR disabled, too).
It would be helpful if Forge could exclude all test files not matched via
--match-test
(or--match-contract
, or--match-path
) from the compilation step.Additional context
No response