k911/swoole-bundle

View on GitHub
src/Server/Runtime/HMR/HotModuleReloaderInterface.php

Summary

Maintainability
A
0 mins
Test Coverage
F
0%
<?php

declare(strict_types=1);

namespace K911\Swoole\Server\Runtime\HMR;

use Swoole\Server;

interface HotModuleReloaderInterface
{
    /**
     * Reload HttpServer if changes in files were detected.
     */
    public function tick(Server $server): void;
}