V7: Git keep showing changes in routes.json file

Wappler Version : v7
Operating System : W11 Pro
Server Model: NodeJS

Hadn't seen this while working in Beta in the past few months.
But ever since I updated my 6.8.x copy to 7.0.0, I keep seeing routes.json file showing up in uncommitted changes, without any change.
Even if I discard, it shows up again in a few seconds.

I tried closing Wappler, open the folder in VSCode, remove the file - and it did not come back.
As soon as I started Wappler, it showed up again.

Did a clean install. Problem still persists.

We have the same issue, Wappler keeps generating a new routes file

Are you sure there aren't any changes, like some spaces removed or a newline added or removed? I don't think Git should show it as a change if there are no changes in it.

Also not sure if I understand it correctly, did Wappler create the file while there wasn't one or did it update an existing one.

The change is probably a line end/line feed/clrf type of change.
It does not show any whitespace changes either.

Git shows the existing file, as is, in the uncommited changes.
If I use another Git app to Stage the file, it disappears.
But then shows up again automatically.

image

I also noticed that this notification shows up - almost everytime I start Wappler the first time or switch the project - and also when restarting app or changing branches, but not sure about the frequency in these two cases.

we have improved this for the next update, so the saving will only happen now if the file really changed.

Fixed in Wappler 7.0.1

This topic was automatically closed 2 days after the last reply. New replies are no longer allowed.