Open
Description
Describe the bug
I wanted to run glow
with watchexec that re-runs programs on file changes for a live markdown preview. It did not work at all (no visible output). I took this up with watchexec
, but they gave me this information:
That is, this is a glow problem in that it doesn't handle being run in a group or session.
Using the
--wrap-process
modes:
- group (default): pager output doesn't show, glow no longer responds to SIGTERM (as sent by watchexec on Ctrl-C).
- session mode: glow outright crashes.
- none: it works.
My addition to the last: it works but actually you need to kill glow manually, so it's no upgrade on pressing r
in glow itself.
watchexec/watchexec#901 (comment)
Setup
I'm running CachyOS and a very recent Contour Terminal.
❯ glow --version
glow version 2.0.0
To Reproduce
Do something like:
watchexec -w README.md -- glow README.md
Metadata
Metadata
Assignees
Labels
No labels
Activity