pento / testpress

Tool for helping you get a WordPress Core test environment up and running.
GNU General Public License v2.0
68 stars 2 forks source link

Replace chokidar with nsfw #140

Closed pento closed 5 years ago

pento commented 5 years ago

Description

This partially addresses #137.

Somewhere in its dependency tree, chokidar includes detect-libc, which is licensed under Apache 2.0. Sadly, this isn't compatible with GPLv2, so we need to replace it.

nsfw is an alternative file watcher package, which appears to function as expected.

This PR also moves node-sass to the devDependencies list, since that's what it is.

How has this been tested?

We use the file watcher to watch Gruntfile.js and package.json in the WordPress directory, and restart the grunt watch or npm install processes, respectively.

Editing these files causes these processes to restart, as expected.

pento commented 5 years ago

This PR has been replaced by #155.