Skip to content

Add support for *file-watching* and *reloading* #60

Closed

Description

@ebekker

During development and testing of PowerShell script(s) that are driving the behavior of the PS5 Handler, it would be useful to have the handler watch for changes to certain files, such as the PS script files and automatically reload the PowerShell Runspace with the newest changes.

Right now, it's necessary to stop and start the server manually to pickup any changes.

Activity

  1. added a commit that references this issue on Jan 31, 2017
    54e3720
  2. majst32 commented on Feb 1, 2017

    @majst32
    Contributor

    Agreed. Also @theJasonHelmick pointed out that once Tug is started up it should return control of the ISE/powershell console to the user and continue running in the background.

  3. ebekker commented on Feb 1, 2017

    @ebekker
    CollaboratorAuthor

    Because of the way that ASP.NET Core operates (it's essentially a console application that hosts its own Web server (Kestrel)) the way to fix that is to deploy it so that it's fronted by IIS.

    I'll add into the Install-TugServer installation logic shortly.

  4. ebekker commented on Feb 26, 2017

    @ebekker
    CollaboratorAuthor

    I've moved Jason's request to #65.

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