Skip to content

The "poll" property name on watchFiles option  #3365

@muzuiget

Description

@muzuiget
  • This is a bug
  • This is a modification request

The watchFiles option is added #3136, and the testcase code show that we should use the property name usePolling.

{ paths: ['dir'], options: { usePolling: true } },

But it isn't work.

After reading the code:

const usePolling = watchOptions.poll ? true : undefined;

We should use poll instead.

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