Skip to content

Dune doesn't recognize manual revert of executables #1342

@kyldvs

Description

@kyldvs
  1. Change some files
  2. Build the executable for your project ./_build/default/bin/foo.exe
  3. Manually revert ./_build/default/bin/foo.exe in your source control
  4. Running build again does not re-update foo.exe to be based off of the current source (bug)

I guess something is cached that causes dune to not update the executable when you've manually reverted it. Workaround right now is to do some sort of change in the source, build, then revert the change, then build.

(@jordwalke This is the bug I was talking about)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions