Skip to content

--file-watch is watching test suites again #4001

Closed
@tswelsh

Description

@tswelsh

This is a regression, the original issue was #3483. At a guess it is due to commit b008a33, which looks like it now uses all package compononents in getPackageFilesForTargets instead of lib + other targets components. Probably an easy fix to make it lib + sublibs + other targets (I don't know anything about sublibs, but presumably they can't be targets and should always be taken into account?). A test would have picked this up, that's on me as I fixed the original issue without adding a test.

$ stack --version
Version 1.7.1, Git revision 681c800873816c022739ca7ed14755e85a579565 (5807 commits) x86_64 hpack-0.28.2

Method of installation

Official binary, downloaded from stackage.org or fpcomplete's package repository

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