If we edit the page on ESS (Site Actions -> Edit Page) directly, we need to import the page definition on AOT otherwise, our changes will be rolled back when we restart the AOS or after full compilation.
Find your edited page's web menu, right click and click "Import page". It will update the page definition on your AOT.
You can find the page definition name (Web-> Web files -> Page definitions) on the web menu's property.