How to restart a site

In my add-on, I would like to restart the site after making a change but I can’t figure out how to do that via @getflywheel/local/main (or maybe I’m way off base and there’s some other way to access the site and restart it)

await LocalMain.getServiceContainer().cradle.siteProcessManager.restart( localSiteInfo );


1 Like