23
loading...
This website collects cookies to deliver better user experience
autoRefresh
keyword in front of the action.autoRefresh
keyword in front of the “do” in the first line of the action. This enables auto refresh. This single keyword is all it needs for IHP auto refresh to get going.autoRefresh
keyword, we would need to manually refresh the page all the time to see the latest deployment status.autoRefresh
keyword does. autoRefresh
keyword activates IHP Auto Refresh for this action. Once activated it starts tracking all SQL queries the controller action is running against the database. It inspects the SELECT * FROM …
queries and keeps track of all the tables that have been used.deployment_logs
table and at the end update the deployments
table to mark the deployment status as completed.pg_notify
, it will re-run the action on the server-side. When the generated HTML looks different than the HTML generated on the initial page load, it will send the new HTML to the browser using the WebSocket connection.23