Skip to content
This repository has been archived by the owner on May 4, 2018. It is now read-only.

Implement recursive fs watch on Windows #1473

Closed
wants to merge 2 commits into from

Conversation

ghostoy
Copy link

@ghostoy ghostoy commented Sep 13, 2014

No description provided.

@@ -626,6 +626,7 @@ RB_HEAD(uv_timer_tree_s, uv_timer_s);
HANDLE dir_handle; \
int req_pending; \
uv_fs_event_cb cb; \
unsigned int win_flags; \
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Call it fs_flags, this code in on the Windows side anyway.

@saghul
Copy link
Contributor

saghul commented Sep 15, 2014

Thanks! Could you please add a test for this?

@ghostoy ghostoy force-pushed the recursive-watch-win branch from f7f5180 to 37c44fb Compare September 19, 2014 05:47
@ghostoy ghostoy force-pushed the recursive-watch-win branch from 37c44fb to 722620e Compare September 19, 2014 13:25
@ghostoy
Copy link
Author

ghostoy commented Sep 19, 2014

@saghul Already done.

@saghul
Copy link
Contributor

saghul commented Sep 19, 2014

Thanks! I'll take a look.

@jorangreef
Copy link

Thanks, this would be really helpful.

@nitoyon
Copy link

nitoyon commented Sep 28, 2014

👍
Tested on Windows 8.1 x64. It works fine:sparkles:

@ghostoy
Copy link
Author

ghostoy commented Nov 6, 2014

Any plan to merge this PR?

@saghul
Copy link
Contributor

saghul commented Nov 7, 2014

Plans, yes, time, not so much lately, but it will! :-)

On Thu, Nov 6, 2014 at 9:26 AM, Cong Liu notifications@github.com wrote:

Any plan to merge this PR?


Reply to this email directly or view it on GitHub
#1473 (comment).

/Saúl
bettercallsaghul.com

@jorangreef
Copy link

Would be great to have this landed soon. There is already recursive watch support on OS X and Linux can use per-directory watchers. But Windows can't just use multiple watchers as this would lock each watched directory (i.e. preventing the user from renaming those directories etc.). This is the last thing stopping a decent cross-platform watch implementation.

@saghul
Copy link
Contributor

saghul commented Jan 14, 2015

Ouch, looks like this fell through the cracks :-(

It will need a bit of adjustment, because as it stands it breaks the ABI, but we can probably use one of the reserved fields.

@saghul
Copy link
Contributor

saghul commented Jul 7, 2015

Superseded by libuv/libuv#421

@saghul saghul closed this Jul 7, 2015
saghul added a commit to saghul/libuv that referenced this pull request Jul 8, 2015
Original patch by @ghostoy, modified by @bpasero and yours truly.

Refs: joyent/libuv#1473
Refs: libuv#198
PR-URL: libuv#421
Reviewed-By: Bert Belder <bertbelder@gmail.com>
saghul added a commit to libuv/libuv that referenced this pull request Jul 8, 2015
Original patch by @ghostoy, modified by @bpasero and yours truly.

Refs: joyent/libuv#1473
Refs: #198
PR-URL: #421
Reviewed-By: Bert Belder <bertbelder@gmail.com>
skomski pushed a commit to skomski/libuv that referenced this pull request Aug 5, 2015
Original patch by @ghostoy, modified by @bpasero and yours truly.

Refs: joyent/libuv#1473
Refs: libuv#198
PR-URL: libuv#421
Reviewed-By: Bert Belder <bertbelder@gmail.com>
skomski pushed a commit to skomski/libuv that referenced this pull request Aug 5, 2015
Original patch by @ghostoy, modified by @bpasero and yours truly.

Refs: joyent/libuv#1473
Refs: libuv#198
PR-URL: libuv#421
Reviewed-By: Bert Belder <bertbelder@gmail.com>
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants