I am using webdev to request a scan of my filesystem to see if any perspective components have been updated.
system.project.requestScan()
I am running into a race condition where the webdev hook will return before the changed perspective components have propagated to the webserver. Meaning, I will go into my browser and refresh after the webdev hooks returns and the old component will still render. After waiting a minute or so, the new component will show up when I refresh the page.
Is there a way to validate whether the scan has propagated to perspective running in the browser?