Skip to content

PHP.hotSwapPHPRuntime: Reuse the FS object instead of copying its contents #992

@adamziel

Description

@adamziel

#990 introduced the ability to hot-swap PHP runtimes. Unfortunately, I didn't find an easy way of reusing the existing FS object and had to introduce a recreateMemFs helper that copies the data to the new filesystem.

Perhaps that's unnecessary. Let's explore reusing the old FS object directly.

Metadata

Metadata

Assignees

No one assigned

    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