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

feat: add -w/--watchPaths for subcommand gf run #3009

Merged
merged 5 commits into from
Oct 12, 2023

Commits on Oct 10, 2023

  1. feat: add -w/--watchPaths for subcommand gf run

    Live reload supports files specified using the "-w" parameter in addition to Go files.
    
    Usage Example:
    
    1) Watch one file
    $ gf run main.go -w manifest/config/config.yaml
    
    2) Watch multiple files, seprated by commas
    $ gf run main.go -w manifest/config/config.yaml,otherpath/otherfile
    
    Fixes gogf#2822
    windvalley committed Oct 10, 2023
    Configuration menu
    Copy the full SHA
    43337a2 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    a5e958c View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    ed9d213 View commit details
    Browse the repository at this point in the history
  4. feat: add -w/--watchPaths for subcommand gf run

    Live reload supports files specified using the "-w/--watchPaths" parameter in addition to Go files.
    
    Help message for `gf run -w`:
    
    ```text
        -w, --watchPaths   watch additional paths for live reload, separated by ",". i.e. "manifest/config/*.yaml"
    ```
    
    Usage Example:
    
    1) Watch one file
    $ gf run main.go -w manifest/config/config.yaml
    
    2) Watch multiple files, seprated by commas
    $ gf run main.go -w manifest/config/config.yaml,otherpath/otherfile
    
    3) Watch wildcard file
    $ gf run main.go -w "manifest/config/*.yaml"
    
    Fixes gogf#2822
    windvalley committed Oct 10, 2023
    Configuration menu
    Copy the full SHA
    a518f63 View commit details
    Browse the repository at this point in the history

Commits on Oct 11, 2023

  1. Configuration menu
    Copy the full SHA
    6613d9e View commit details
    Browse the repository at this point in the history