The flow should load once when the page is loaded. As I said, when you edit the page depending on the edit it will reload it again to update the design view, this will trigger the flow again. We try to do only partial update in the design view, that would not trigger a reload, but when the head of a page is edited or new includes are added it requires the reload. Also when typing directly in codeview often triggers a reload of the design view (it has a debounce, so it should only update when you stop typing).