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

Watcher / After build command #40

Merged
merged 3 commits into from
Jul 21, 2023
Merged

Watcher / After build command #40

merged 3 commits into from
Jul 21, 2023

Commits on Jul 21, 2023

  1. 🎨 - Add additional command to run after build finished

    This is an issue when running things like a test watcher simultaniously
    with Rewatch. Because of the amount of IO Rewacht produces, the watcher
    in the secondary thread get's respawned over-and-over, making it produce
    more IO than needed. This allows the user to pass in a subcommand to be
    ran whenever the build has finished. IE:
    
    ```
    rewatch watch . -a "yarn jest foo.test"
    ```
    
    Or, when there are longer build times, alert the user that the build is
    finished.
    
    ```
    rewatch watch . -a "tput bel"
    ```
    Roland Peelen committed Jul 21, 2023
    Configuration menu
    Copy the full SHA
    80906bc View commit details
    Browse the repository at this point in the history
  2. ♻️ - Add 'Done' as final step

    Roland Peelen committed Jul 21, 2023
    Configuration menu
    Copy the full SHA
    ff7b4d2 View commit details
    Browse the repository at this point in the history
  3. 🎨 - Prettier output + stderr

    Roland Peelen committed Jul 21, 2023
    Configuration menu
    Copy the full SHA
    6620dd0 View commit details
    Browse the repository at this point in the history