dub icon indicating copy to clipboard operation
dub copied to clipboard

stringImportPaths always cause recompilations

Open MrcSnm opened this issue 2 years ago • 1 comments
trafficstars

System information

  • dub version: 1.28.0
  • OS Platform and distribution: Windows 10

Bug Description

When stringImportPath is on dub.json, it always recompile the project, no matter if it has changed or not. current workaround is adding -J to dflags.

How to reproduce?

Expected Behavior

Logs

MrcSnm avatar Mar 01 '23 01:03 MrcSnm

can't reproduce with DUB 1.31.1

Are the files inside the stringImportPath folder updating? (or just updating file update time) In that case dub will trigger a recompilation, as it's a compile time change.

WebFreak001 avatar Mar 01 '23 20:03 WebFreak001