Skip to content

Flow caches failures across processes (despite killall) #5633

@juicetin

Description

@juicetin

System info:
Linux machine 4.14.11-1-ARCH #1 SMP PREEMPT Wed Jan 3 07:02:42 UTC 2018 x86_64 GNU/Linux
Flow info:
Flow, a static type checker for JavaScript, version 0.59.0

Logging this separately to #4555 as the issue description in that one currently specifies that the flow (no pun intended) to get that bug is that it requires a killall - in my case, killall doesn't solve the problem (this is only mentioned in a comment on that issue).

I frequently get cached errors pointing towards lines that have clearly changed even using killall, and have to subsequently remove my $HOME/.cache/yarn contents to clear the error. E.g.

Error: <fiilename>:<filenumber>
101:     thing => thing.foo || null,
                            ^^^^^^^^^^^^^^^^ property `bar`. Property not found in
101:     context => context.foo || null,
                    ^^^^^^^ object type

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions