Azure / Azure/azure-functions-core-tools

`func host start` (non-verbose) doesn't show restart logs

Open
#2,251 2 comments 0 reactions 0 assignees View on GitHub
Dominant language
C#
Stars
1.5k
Forks
498
Avg merge
5d 4h
Merged PRs (30d)
15

Description

To repro,
1. `func host start`
2. Modify a file, say `host.json`

A restart is triggered and functions are reloaded, but you can't tell from the output of the core tools as it doesn't change. Workaround is to use `--verbose` flag.

I think that we should consider having some way of indicating that a Host restart happened.

cc: @pragnagopa @anthonychu

Contributor guide

Open the contributing guide

Research direction

Start by reproducing the behavior with `func host start`, editing `host.json`, and comparing normal output with `--verbose`. Trace the host restart and function reload output paths; done means a non-verbose restart is visibly indicated without relying on the verbose flag.

Written by the indexing model from the issue text.

Assessment

Tech stack
csharp
Domain
cli
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.