Skip to content

Invalidating project every half-second #22494

@amcasey

Description

@amcasey

The Typings Installer polls the (initially) non-existent bower_components folder every half-second to see if it has been created. Sometime after 61a2b4a, we started receiving file change events for each poll. Here we decide that the file has been deleted (presumably, since we don't expect to receive an event for continued non-existence) and generate an Invalidate event here, which triggers a project refresh. Obviously, refreshing the project this frequently is undesirable.

Metadata

Metadata

Assignees

No one assigned

    Labels

    BugA bug in TypeScriptFixedA PR has been merged for this issue

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions