On 7/4/14, 7:46 AM, David Rajchenbach-Teller wrote:
Well, we basically have the Windows version implemented already. We
could possibly use Watchman for other platforms. How do others feel
about introducing a dependency towards Watchman?
The inotify limitation on watchers is indeed annoying in th
Philip Chee writes:
> On 02/07/2014 18:13, David Rajchenbach-Teller wrote:
> We had libnotify support but this was removed from the tree on the
> grounds that it didn't suit our needs.
I don't think those were the grounds. AIUI it was just that
people didn't want to put effort into a lower prior
On 02/07/2014 18:13, David Rajchenbach-Teller wrote:
> For its recently landed WebIDE, the devtools team needs a component to
> watch changes in a directory (they are currently using a somewhat
> hackish workaround that they want to replace with something better
> supported). Both Windows and MacOS
Well, we basically have the Windows version implemented already. We
could possibly use Watchman for other platforms. How do others feel
about introducing a dependency towards Watchman?
I'm not so happy about the idea of using libuv. We already have many
ways of performing I/O and introducing yet a
I've written a cross-platform file watching API for Windows/OS X/Linux
before. It's no fun.
I would strongly recommend using an existing higher-level abstraction
layer because implementing this ourselves will lead to constant edge
case discovery and bug fixing. I'd like to think that any reaso
According to the manpage of fanotify, « there is no support for create,
delete, and move events, » which would make it useless for our scenario.
What kind of drawbacks are you talking about in the case of inotify? The
possible race condition that [1] attempts to solve?
Are there any build incanta
On Wed, Jul 02, 2014 at 01:41:54PM +0200, David Rajchenbach-Teller wrote:
> The main usecase is an editor that needs to 1/ reload resources when
> they have been modified by an outside application; 2/ see when resources
> are added or removed.
>
> In other words, watching a directory (recursively)
Hello :-),
On 02/07/2014 13:41, David Rajchenbach-Teller wrote:
Which library do you suggest?
libuv also allows to watch a FS, whatever the platform:
https://github.com/joyent/libuv.
Cheers.
--
Ivan Enderlin
Developer of Hoa
http://hoa-project.net/
PhD. student at DISC/Femto-ST (Vesontio) a
On Wed, Jul 02, 2014 at 02:23:51PM +0200, Dirkjan Ochtman wrote:
> On Wed, Jul 2, 2014 at 1:41 PM, David Rajchenbach-Teller
> wrote:
> > Which library do you suggest?
>
> Take a look at watchman:
>
> https://github.com/facebook/watchman
That one uses inotify as well. Might as well use glib.
Mi
On Wed, Jul 2, 2014 at 1:41 PM, David Rajchenbach-Teller
wrote:
> Which library do you suggest?
Take a look at watchman:
https://github.com/facebook/watchman
Cheers,
Dirkjan
___
dev-platform mailing list
dev-platform@lists.mozilla.org
https://lists.m
The main usecase is an editor that needs to 1/ reload resources when
they have been modified by an outside application; 2/ see when resources
are added or removed.
In other words, watching a directory (recursively) for add/remove/modify
changes to files.
Which library do you suggest?
Cheers,
Da
On Wed, Jul 02, 2014 at 12:13:44PM +0200, David Rajchenbach-Teller wrote:
> For its recently landed WebIDE, the devtools team needs a component to
> watch changes in a directory (they are currently using a somewhat
> hackish workaround that they want to replace with something better
> supported). B
For its recently landed WebIDE, the devtools team needs a component to
watch changes in a directory (they are currently using a somewhat
hackish workaround that they want to replace with something better
supported). Both Windows and MacOS X provide built-in functions for this
purpose but most Unice
13 matches
Mail list logo