Skip to content

Delayed FileWatching: Maybe a OutOfProcessNodeJSServiceOptions property? #179

Open
@Zettersten

Description

@Zettersten

Greetings,

I have a node application that uses rollup.js to produce esm modules for my dotnet program.

Rollup has a watch feature that executes the compilation of a node project when code changes.

In my case, rollup delete old files and ands new ones (using file chunk hashes - so their different each compilation).

The deleting of old files and writing of new files causes the FileWatcher in OutOfProcessNodeJSService to go crazy for bit.

It rapidly tries to kill processes and spin up new ones.

Can we add a delay or throttle option to the FileWatcher?

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