We are using PSU in an Azure WebApp. When we add a new page to one of the Apps with FTP, the page will not be available in the App, also not after restarting the corresponding app.
The new pages are added into the /pages folder of the App
The new page will not be showed at the Pages tab of the app in the admin portal.
We now have to restart the full Azure WebApp to have the pages discovered and added to the Pages tab.
Are we doing something wrong or is there a bug that will not discover newly created pages on the restart of an App?
There may be a more native way to do this - I know there used to be a watcher on the filestructure that auto refreshed i think, but take a look at: App Dashboard SubFolders - #2 by insomniacc
It’s a post about how I dynamically load in my pages (based on a subfolders file structure), and then dot source those files so that the pages load fresh each time they’re visited.
You only need to recycle when adding a new page, but not when changing anything, and it can all be done in code.