Kernel::WebApp::Server::Hypnotoad

NAME

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

PUBLIC INTERFACE

configure()

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).

_DeployAssets()

runs npm package installation and application build scripts.

_CheckForReloadTriggerFile()

handler to check for the presence of our var/run/otrs.Webserver.pid.needs-reload 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.

_CheckForReloadTriggerFile()

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

_CustomLogInfo()

log info messages to STDERR and the web server log.

_CustomLogError()

log error messages to STDERR and the web server log.

Scroll to Top