Chokidar: Add environment support for configuring the poll interval

Created on 3 Aug 2016  路  1Comment  路  Source: paulmillr/chokidar

Currently, CHOKIDAR_USEPOLLING can be set to either 0, 1 or an arbitrary value. Would it make sense to use values greater than 1 to configure the desired polling interval (or introduce another flag)?

This would be immensely useful for environments where resources may be scarce, say a Docker container.

performance

Most helpful comment

Probably its own flag for cleanliness. CHOKIDAR_POLLINTERVAL maybe.

PR welcome.

>All comments

Probably its own flag for cleanliness. CHOKIDAR_POLLINTERVAL maybe.

PR welcome.

Was this page helpful?
0 / 5 - 0 ratings

Related issues

kevcodez picture kevcodez  路  3Comments

jbreckmckye picture jbreckmckye  路  7Comments

RedMickey picture RedMickey  路  4Comments

ahmadnassri picture ahmadnassri  路  6Comments

bnainar picture bnainar  路  7Comments