Skip to content

Install hook not firing or not working correctly #48

@thetooth

Description

@thetooth

Thanks for this awesome tool.

Whenever I hit F5 in vscode to start a debug session AFTER a previous one has run the app will launch with the previous sessions code and some randomly assortment of edits then applied over the VM service port. Usually results in very odd issues or crashes since the running code has no resemblance to what's in the editor.

Not sure where to even begin with this, but I have a feeling it's just the install hook in custom devices not firing a not scp'ing over the new state.

drwxr-xr-x 8 pi   pi   4096 May 24 16:25 flutter_hmi
drwxr-xr-x 2 pi   pi   4096 May 24 16:27 flutter-hmiDNPNGJ
drwxr-xr-x 2 pi   pi   4096 May 24 16:25 flutter-hmiFKGTYF
drwxr-xr-x 2 pi   pi   4096 May 24 16:29 flutter-hmiJAHBIO
drwxr-xr-x 2 pi   pi   4096 May 24 16:24 flutter-hmiMKTICD

Each session creates a new folder, maybe the debugger is expecting resources to be there rather than the original folder?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions