Skip to content

readme.mkd is wrong about interval units #112

Closed
@mx-scissortail

Description

@mx-scissortail

The documentation says:

'interval' - Specifies the interval duration in seconds, the time period between polling for file changes.

But interval is actually passed through to fs.watchFile, where it's interpreted as milliseconds (not seconds). Putting in a value of "1" for interval increased my CPU load somewhat unexpectedly.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions