Skip to content

热更新不可用 #70

@ninvfeng

Description

@ninvfeng

热更新不可用
php index.php server:watch
Generating optimized autoload files
Generated optimized autoload files containing 1087 classes

Start server ...
PHP Warning: require_once(bin/hyperf.php): Failed to open stream: No such file or directory in /data/docker/fastdeploy/vendor/hyperf/watcher/watcher.php on line 31
PHP Fatal error: Uncaught Error: Failed opening required 'bin/hyperf.php' (include_path='.:/usr/share/php') in /data/docker/fastdeploy/vendor/hyperf/watcher/watcher.php:31
Stack trace:
#0 {main}
thrown in /data/docker/fastdeploy/vendor/hyperf/watcher/watcher.php on line 31
Stop server success.

尝试把 vendor/hyperf/watcher/watcher.php 中的 bin/hyperf.php 修改为index.php后, 能正常启动, 但修改index.php后无法热更新

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions