-
Notifications
You must be signed in to change notification settings - Fork 781
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[fixes #121] chokidar -> sane #1283
Conversation
I'll try to land: amasad/sane#121 to make this slightly more compelling. |
What does this mean practically? Can you provide a concrete example of how this might increase the barrier of entry? |
Totally fair, let me share my opinion. prebuilt dependencies work only if:
If any of the above fall sideways, you end up requiring:
This affects the following users:
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks for the detailed response. I'm 👍 on this change given the above info.
Looks like all the --watch
tests are currently failing in CI though. Once those are fixed I'm good to land this.
👍 |
82fdcd1
to
a6dace7
Compare
a6dace7
to
d2b4a1e
Compare
I think chokidar is great, but the ergonomics around native dependencies today in node really painful. Although chokidar pre-builds, users switching nodes, or failed pre-build downloads, or behind firewall usages cause a fallback to requiring a working compiler toolchain. Requiring that, very much increases the barrier of entry, and support load for tooling/cli maintainers
d2b4a1e
to
1f0190e
Compare
Sorry about the delay, just fixed the tests locally. Let's see what CI says... |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good to me! Thanks 😄
} ); | ||
|
||
watcher.on( "ready", () => run.apply( null, args ) ); | ||
watcher.on( "change", watcherEvent( "changed", args ) ); | ||
watcher.on( "add", watcherEvent( "added", args ) ); | ||
watcher.on( "unlink", watcherEvent( "removed", args ) ); | ||
watcher.on( "delete", watcherEvent( "removed", args ) ); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
On a personal note, I prefer this event name so much more than "unlink".
@trentmwillis is there a release planned soon, or will it be some time? (I am unfamiliar with the QUnit release cycles) |
We don't really have an official release cycle. It's pretty much after we've had some worthwhile changes and/or someone asks for it. I'll plan to do one this week. |
I think chokidar is great, but the ergonomics around native dependencies today in node really painful. Although chokidar pre-builds, users switching nodes, or with old yarn.lock files, or failed pre-build downloads, or behind firewall usages cause a fallback to requiring a working compiler toolchain. Requiring that, very much increases the barrier of entry, and support load for tooling/cli maintainers.