Kernel::WebApp::Server::Hypnotoad – Extensions for the Hypnotoad web server.



this method is called during server startup in run().

Here we perform some custom actions before (asset deployment) and after the application has been configured (special startup modes and installation of custom handlers).


runs npm package installation and application build scripts.


handler to check for the presence of our var/run/ file that signals the need to perform a reload with asset deployment.

Asset deployment is started in a child process, while the handler _CheckForReloadAssetDeployment() waits for its finish and triggers the actual reload.


handler to wait for asset deployment and trigger the actual hot deployment.


log info messages to STDERR and the web server log.


log error messages to STDERR and the web server log.

Scroll to Top