Skip to content

netlify-watch: remove spinner by default or via option #5301

@erikw

Description

@erikw

Which problem is this feature request solving?

As a developer living in a terminal shell most of the time,
I want $ netlify watch to be silent unless there is progress on the deployment,
so that I know when to return to this terminal window/tab/tmux-window for progress updates.

Screen.Recording.2022-12-07.at.16.50.09.mov

Currently the watch command have a pretty cool spinner (video) while waiting. However I find that I usually switch away from the terminal where I ran the netlify-watch in and would expect that it only prints something when there is some useful progress to watch (most likely deployment finished).

Screen Shot 2022-12-07 at 16 57 02

Many terminal emulators have some way to show that something has happened since last time it was in the foreground. For example tmux marks windows that has new output (screenshot: window 4 has new output from netlify watch : the spinner moved)

Describe the solution you'd like

Possible solutions

  • Remove the spinner and replace with a static icon/char/text
    • Possibly allow with with an option --with-spinner
  • Add an option --no-spinner

Metadata

Metadata

Assignees

No one assigned

    Labels

    good first issuetype: featurecode contributing to the implementation of a feature and/or user facing functionality

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions