Skip to content

Add Whatch Files to Source #22

Closed
Closed

Description

@Mig1st4ck

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???

Activity

  1. clintkolodziej commented on May 14, 2014

    @clintkolodziej

    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.

  2. davidfowl commented on May 14, 2014

    @davidfowl
    Member

    It'll be there eventually 😄

  3. clintkolodziej commented on May 14, 2014

    @clintkolodziej

    Great news, thanks!

  4. glennc commented on May 20, 2014

    @glennc
    Contributor

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

  5. added a commit that references this issue on Oct 17, 2018
  6. added a commit that references this issue on Nov 20, 2018
  7. added a commit that references this issue on Sep 11, 2019
  8. ghost locked as resolved and limited conversation to collaborators on Dec 4, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions