# \[IGN-1655\]Force to reload the file page-config/config.json after editing it from disk

**URL:** <https://forum.inductiveautomation.com/t/ign-1655-force-to-reload-the-file-page-config-config-json-after-editing-it-from-disk/64908>\
**Category:** Ignition\
**Tags:** ignition81, perspective\
**Created:** [October 6, 2022, 4:05pm UTC](https://forum.inductiveautomation.com/t/ign-1655-force-to-reload-the-file-page-config-config-json-after-editing-it-from-disk/64908 "2022-10-06T16:05:07Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![mazeyrat](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/mazeyrat/32/10955_2.png) [@mazeyrat](https://forum.inductiveautomation.com/u/mazeyrat)\
**Post date:** [October 6, 2022, 4:05pm UTC](https://forum.inductiveautomation.com/t/ign-1655-force-to-reload-the-file-page-config-config-json-after-editing-it-from-disk/64908/1 "2022-10-06T16:05:07Z")

</div>

**Ignition 8.1.21**

I have some project with lots of pages and I generate the **page-config\config.json** file or modify it with an external text editor.

```auto
\Ignition\data\projects\MyProjetc\com.inductiveautomation.perspective\page-config\config.json

```

When I change this file, I need to wait probably this times or restart the gateway services  
in order the modified file is used.

```auto
wrapper.java.additional.1=-Dignition.projects.scanFrequency=100

```

[https://docs.inductiveautomation.com/display/DOC81/Gateway+Configuration+File+Reference](https://docs.inductiveautomation.com/display/DOC81/Gateway+Configuration+File+Reference)

Sometime, probably if somebody has a designer open, the config.json file may be overwritten

@paul-griffith  
**I would like to force the system to load my file just after I've write it on disk.  
Can we do this ? with some SDK function ?**

---

<div class="post-metadata">

**Author:** ![paul-griffith](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/paul-griffith/32/37249_2.png) [@paul-griffith](https://forum.inductiveautomation.com/u/paul-griffith)\
**Post date:** [October 6, 2022, 4:13pm UTC](https://forum.inductiveautomation.com/t/ign-1655-force-to-reload-the-file-page-config-config-json-after-editing-it-from-disk/64908/2 "2022-10-06T16:13:48Z")

</div>

Not cleanly, no. We'd like to introduce a demand-poll mechanism, somehow, but we haven't decided on what that will look like yet.

See also: this thread:

> [@Controlling project file scanning without restarting](https://forum.inductiveautomation.com/t/controlling-project-file-scanning-without-restarting/42633):
>
> I know (at least as of 8.1) you can reconfigure the scan rate at startup time with the ignition.projects.scanFrequency definition in your ignition.conf file, but is there a way to temporarily pause scanning just while doing some external operation that might temporarily put the projects directories in a weird state? I’m looking for some way to do some git commands without having to stop or restart the server, and only have it scan and use the new files once I have had a chance to validate the g…

---

<div class="post-metadata">

**Author:** ![mazeyrat](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/mazeyrat/32/10955_2.png) [@mazeyrat](https://forum.inductiveautomation.com/u/mazeyrat)\
**Post date:** [December 21, 2022, 1:02pm UTC](https://forum.inductiveautomation.com/t/ign-1655-force-to-reload-the-file-page-config-config-json-after-editing-it-from-disk/64908/3 "2022-12-21T13:02:10Z")

</div>

any progress about this feature ?

---

<div class="post-metadata">

**Author:** ![paul-griffith](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/paul-griffith/32/37249_2.png) [@paul-griffith](https://forum.inductiveautomation.com/u/paul-griffith)\
**Post date:** [December 21, 2022, 4:18pm UTC](https://forum.inductiveautomation.com/t/ign-1655-force-to-reload-the-file-page-config-config-json-after-editing-it-from-disk/64908/4 "2022-12-21T16:18:10Z")

</div>

The effort to add a `system.project.scan()` (and associated SDK-callable mechanism) is on the short-list for one of our teams, which likely means it will be picked up for development early next year.

---

<div class="post-metadata">

**Author:** ![paul-griffith](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/paul-griffith/32/37249_2.png) [@paul-griffith](https://forum.inductiveautomation.com/u/paul-griffith)\
**Post date:** [May 22, 2023, 9:34pm UTC](https://forum.inductiveautomation.com/t/ign-1655-force-to-reload-the-file-page-config-config-json-after-editing-it-from-disk/64908/5 "2023-05-22T21:34:19Z")

</div>

May's still 'early', right? 😉

8.1.28 will add the `system.project.scan` method noted above, in the gateway scope. There's also an SDK-accessible `requestScan` method that returns a `CompletableFuture` on `ProjectManagerBase` if you want to do anything interesting from a custom module.
