Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add Whatch Files to Source #22

Closed
Mig1st4ck opened this issue May 14, 2014 · 4 comments
Closed

Add Whatch Files to Source #22

Mig1st4ck opened this issue May 14, 2014 · 4 comments

Comments

@Mig1st4ck
Copy link

I am having a hard time understanding how this vNext work.

I open the server wilth "k web" and the MVC project Sample work with no problem.

Then i change a File for exemple "HomeController", and Hit refresh on the browser and it is still the same. So even there is no DLL in a Bin forlder, those files are still in Memory.

To reload my page i need to press "Ctrol+C" and "Y" to close the current web, then run the Web again with "k web".

Could it be possible to add a FileWatcher to my source files, rebuild my code everytime i change a file?

Or am i simple doing something wrong???

@clintkolodziej
Copy link

Agreed, I'm seeing the same thing. Changes to Views are updated immediately by only refreshing the browser but changes to Controllers or Models (or both) require "k web" to be terminated via Control+C, then re-run the "k web" command again to start up again. While it is quite nice to not have to manually build the project in Visual Studio, adding file watching functionality to trigger a rebuild would be even better.

@davidfowl
Copy link
Member

It'll be there eventually 😄

@clintkolodziej
Copy link

Great news, thanks!

@glennc
Copy link
Contributor

glennc commented May 20, 2014

This would be a hosting feature, we have an issue for it here: aspnet/Hosting#45

@glennc glennc closed this as completed May 20, 2014
natemcmaster pushed a commit that referenced this issue Nov 9, 2018
ryanbrandenburg pushed a commit that referenced this issue Nov 20, 2018
Replace express with native node calls
dougbu pushed a commit to dotnet-maestro-bot/AspNetCore that referenced this issue Sep 11, 2019
@ghost ghost locked as resolved and limited conversation to collaborators Dec 4, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants