JSPool watching entire user directory? #253

Closed
mcintyre321 opened this Issue Apr 12, 2016 · 2 comments

Projects

None yet

2 participants

@mcintyre321

I've been using the Owin demo app as a base for my own project, and although everything is working, the console for the app is full of 100s of messages like

JSPool] Watched file '[JSPool] Watched file '/\Users\Harry\AppData\Local\Google\Chrome\User Data\Default\Cookies-journal' changed'.

It seems to be watching my entire user directory.

Given that I'm using


            var contentFileSystem = new PhysicalFileSystem(@"..\..\Content");
            obj.UseBabel(new BabelFileOptions()
            {
                StaticFileOptions = new StaticFileOptions()
                {
                    FileSystem = contentFileSystem,
                },
            });
            obj.UseFileServer(new FileServerOptions() { FileSystem = contentFileSystem });

shouldn't it only be watching under my Content directory? Apologies if this is user error somewhere!

@Daniel15 Daniel15 added the Bug label Apr 18, 2016
@Daniel15 Daniel15 added a commit that referenced this issue Apr 18, 2016
@Daniel15 Daniel15 Fix handling of relative paths in OWIN. References #253. f450bac
@Daniel15
Member

This may be fixed by f450bac. Could you please try it out and let me know if that fixes it? The build should be available on the development server shortly (see http://reactjs.net/getting-started/download.html#development-builds for instructions).

@Daniel15
Member

Please let me know if you still encounter this, it should have been fixed in ReactJS.NET 2.4.0

@Daniel15 Daniel15 closed this Oct 10, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment