# Gateway Shared Script not updated after save an Publish

**URL:** <https://forum.inductiveautomation.com/t/gateway-shared-script-not-updated-after-save-an-publish/27645>\
**Category:** Ignition\
**Tags:** ignition79, scripting\
**Created:** [August 21, 2019, 8:38pm UTC](https://forum.inductiveautomation.com/t/gateway-shared-script-not-updated-after-save-an-publish/27645 "2019-08-21T20:38:06Z")\
**Posts on this page:** 1\
**Showing post:** 5

<div class="post-metadata">

**Author:** ![pturmel](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/pturmel/32/3295_2.png) [@pturmel](https://forum.inductiveautomation.com/u/pturmel)\
**Post date:** [August 22, 2019, 12:39pm UTC](https://forum.inductiveautomation.com/t/gateway-shared-script-not-updated-after-save-an-publish/27645/5 "2019-08-22T12:39:48Z")

</div>

There are also possible problems with python object lifetimes, particularly if you are importing from shared or project scripts instead of spelling them out everywhere:

> [@Some Project Resources not publishing](http://forum.inductiveautomation.com/t/some-project-resources-not-publishing/16888/3):
>
> This may be a side-effect of the fact that Ignition doesn’t/can’t track the usage and retention of python code objects throughout the gateway. This means that when your script modules have interlocking dependencies, updating one script won’t impact the code objects that other scripts have imported. You may need to make a trivial change in all of your scripts and save them all together to get it to “take”. You may also need to disable then re-enable the entire project. Consider renaming the o…

---

_[View the full topic](https://forum.inductiveautomation.com/t/gateway-shared-script-not-updated-after-save-an-publish/27645)._
