Nukor

March 2018

Improved file watcher

JavaScript
Node.js

What is Nukor?

Nukor is an improved file watcher, cleaning file change events in order to avoid potential errors.

Motivation

During the development of Lesion, I noticed some anomalies about file watchers. Sometimes they return the same event multiple times, or they return a "created" and "modified" about the same exact file, or even "created" and "deleted".

I first developed a built-in watcher built on the top of NSFW which clean these anomalies, but saw an opportunity to publish this one as a standalone package.