Skip to content

Bitburner (electron) Stops Syncing with watch After Folder Deletion [WIN11] #19

Open
@ghost

Description

Version info:

  • OS: Microsoft Windows 11 Pro 10.0.22621 Build 22621
  • Bitburner: v2.5.0 (b87b8b4be)
  • NPM: 9.8.1
  • Commit: 4136ab7

Issue

When deleting a folder using either File Explorer or command line, Bitburner loses sync with the src root directory in the typescript-template folder.

Steps to reproduce

  1. Start watch with command npm run watch
  2. Start Bitburner
  3. Connect via Options > Remote API > Connect on port 12525
  4. From Bitburner, confirm the presence of files and non-empty folders of the root src directory in the typename-template install using ls.
  5. From Windows Powershell (non-admin) in the root src directory, issue the commands:
    5.1 mkdir test
    5.2 cp .\template.ts test\
  6. In Bitburner, confirm that the folder test/ and file template.ts were synced.
  7. From Windows Powershell in the root src folder, issue the command rm -r test.
  8. From Bitburner, perform another ls

Notes

  • Steps 5 and 7 can be performed from File Explorer to the same effect.

Expected Behavior

Files and folders that were present in step 4 should still be available.

Actual Behavior

Files and folders that were previously present are no longer available in Bitburner even though they are present in the src folder.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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