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

files included in the project with "compile" are not watched #19

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

files included in the project with "compile" are not watched #19

moozzyk opened this issue Oct 6, 2015 · 2 comments

Comments

@moozzyk
Copy link
Contributor

moozzyk commented Oct 6, 2015

If I add files to the project.json using compile (e.g. "compile": [ "../../../DnxLib/src/DnxLib/Class.cs" ],) they are not being watched - i.e. the target process is not restarted if the included file changes.

Same applies to files specified in resource (e.g. "resource": [ "project.json_" ],)

@muratg muratg added this to the 1.0.0 backlog milestone Dec 2, 2015
@muratg
Copy link

muratg commented Dec 11, 2015

@victorhurdugaci We had a discussion on this but I don't remember the outcome. Is this something we can make work properly?

@muratg muratg modified the milestones: 1.0.0-rc2, 1.0.0 backlog Dec 11, 2015
@muratg muratg added the bug label Dec 11, 2015
@jpoehls
Copy link

jpoehls commented Dec 17, 2015

FWIW this is affecting one of my projects. Specifically the resource files not being watched. My scenario is the following:

  • dnx-watch is monitoring ./web-project/project.json
  • ./web-project/project.json references another project in the same solution, ./class-library/project.json.
  • ./class-library/project.json includes Razor views as embedded resources in the resource section of project.json.

I'm expecting dnx-watch to restart if it detects those resource files change in the class library project that is referenced by the web project being watched.

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

6 participants