Skip to content

stack build --file-watch fails sometimes #1838

@charles-cooper

Description

@charles-cooper

Leaving stack build --file-watch on in a local project intermittently results in the following message:

removeWatch: invalid argument (Invalid argument)
Type help for available commands. Press enter to force a rebuild.

The solution is to restart stack. This seems to have appeared since upgrading to 1.0.4.

$ stack --version
Version 1.0.4, Git revision cf18703b1392a96a5a4896a560309e501af63260 (3220 commits) x86_64
$ uname -a
Linux ip-172-31-43-180 3.13.0-79-generic #123-Ubuntu SMP Fri Feb 19 14:27:58 UTC 2016 x86_64 x86_64 x86_64 GNU/Linux

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions