cespare / reflex

Run a command when files change
MIT License
3.35k stars 135 forks source link

feat: set command name explicitly and use it instead of the sequence number in the output #94

Open vgarvardt opened 1 year ago

vgarvardt commented 1 year ago

Makes the output easier to read when reflex is managing several services, especially when there are several reflexes running concurrently with several services in each, so instead of

[00] hello log message
[00] hello again
[01] and also hello from me
[01] and goodbye from me

it is going to be something like

[web-server] hello log message
[web-server] hello again
[data-consumer] and also hello from me
[data-consumer] and goodbye from me
jcmuller commented 7 months ago

You could add the name for the configuration to the verbose output