Skip to content

dune build -w exclusion does not work in Mac OS #9517

@camlspotter

Description

@camlspotter

Expected Behavior

The file event monitoring of dune build -w should ignore the file creation of an Emacs temp file like .#foobar.ml

Actual Behavior

Generation of .#foobar.ml triggers the rebuild, which should not.

Reproduction

  1. Use Mac OS
  2. Execute dune build -w in your project
  3. See the message waiting for filesystem changes...
  4. Open a terminal and execute touch .#foobar.ml
  5. dune build -w restarts building, which is not an expected behavior.

Specifications

  • dune.3.11.1
  • Mac OS

Additional information

The issue does not reproduce in Linux.

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