Don't reload app on changes inside .git folder

Description of the limitation and why it is relevant to address

As a developer I do not want Reloading app… to be triggered after changes in the .git folder, so that I don’t have to wait for the app to be reloaded while no actual code was changed.

I think this is relevant for the VIKTOR platform because the current behavior it really annoying and waiting for no reason is boring.

When developing some long calculation, after my code changes (and waiting for the expected app reload) I’ll start the calculation in Viktor. While waiting for that I’ll select git changes to be staged and commit then. But that triggered another (unwanted) app reload.

Submitter proposed design (optional)

Ignore the .git folder, just like venv

Current workarounds

Being patient

Hi @rkg,

Has this behavior changed recently? Or has this always been the case?

Kind regards,

Raoul

I can’t really tell. I hadn’t been programming for a couple of months and now noticed it enough to post here. I think the behavior has always been there though.