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

dnx-watch hangs/is not notified about file changes on CoreClr on Mac OS #21

Closed
moozzyk opened this issue Oct 6, 2015 · 9 comments
Closed

Comments

@moozzyk
Copy link
Contributor

moozzyk commented Oct 6, 2015

It will run the target project once but changes to file aren't ever detected.

Note that this works fine on Linux.

@moozzyk moozzyk changed the title dnx-watch hangs on CoreClr on Mac OS dnx-watch hangs/is not notified about file changes on CoreClr on Mac OS Oct 6, 2015
@victorhurdugaci
Copy link
Contributor

Is this a known issue with the file watcher on CoreCLR/Darwin?

@muratg
Copy link

muratg commented Oct 14, 2015

@victorhurdugaci let's investigate on our end. if there's a behavior difference between linux/windows and os x, we should file bugs on appropriate repo

@glennc
Copy link
Member

glennc commented Oct 14, 2015

When running inside a docker container and detecting changes on a mounted volume I needed to have Mono use the managed file watcher otherwise it wouldn't detect changes.

@davidfowl
Copy link
Member

This is talking about CoreCLR not mono.

@glennc
Copy link
Member

glennc commented Oct 14, 2015

Didn't read the title.

@mikehaas763
Copy link

I'm having the same problem. Using CoreCLR and dnx beta 8 on a mac. When I run dnx-watch web in my default yeoman scaffolded web project it will run the server and start the process and I can successfully visit the website in my browser. When I make a change to a view it reflects it as I would expect because they're being compiled on the fly anyway (I'm assuming). However, when I make a simple change to the HomeController I see no logging output in my terminal and when I refresh I don't see the change in my browser. The process does remain running though.

@muratg muratg added this to the 1.0.0 backlog milestone Oct 20, 2015
@muratg muratg modified the milestones: 1.0.0-rc2, 1.0.0 backlog Nov 24, 2015
@victorhurdugaci
Copy link
Contributor

@muratg
Copy link

muratg commented Dec 1, 2015

@victorhurdugaci Could you ping someone from CoreCLR to look into it?

cc @joshfree

@muratg
Copy link

muratg commented Dec 23, 2015

@victorhurdugaci Does this work now?

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

7 participants