Ignition Gateway Script not persisting/saving from the designer

We are having an issue when modifying a gateway script in the designer, the changes are not applied to the gateway. It's as if saving has no effect despite the designer acknowledging that modification were applied. Furthermore, when running the script in isolation in the script console everything is working fine.

We were wondering if this was a known issue or if there was a way to workaround it. We are running version 8.1.25.

@Thierry_Bergeron You have to individually save the script and the project. Also check if your Java is up to date.

Are you using a long-lived thread? (Any kind of while True: looping or sleeping.) If so, saving a project doesn't replace running threads (using old code) with new ones.