Skip to content

[XDebug bridge] Update the scripts list when filesystem changes #2756

@adamziel

Description

@adamziel

When I'm connected to the xdebug bridge and create or delete a local file, that change is not reflected in the devtools. Let's find a way of communicating it.

A full filesystem monitoring system is appealing, but I worry it's also difficult to build in a portable way (mac, win, eventually Playground web) and could be slow if node_modules are involved (lots of events for files we mostly don't care about).

Could we start with refreshing the directory if it's collapsed and expanded in devtools? Basically use any existing CDP interaction to pull instead of proactively pushing? Alternatively, do we know which directories are expanded? We could monitor those for ls changes.

Metadata

Metadata

Assignees

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions