Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
profess opened this issue Oct 23, 2023 · 2 comments

Comments

@profess
Copy link

profess commented Oct 23, 2023

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.

@profess
Copy link
Author

profess commented Oct 23, 2023

Note on the behavior: Deleting the test folder removes the dist folder.

@MisterNoNameLP
Copy link

MisterNoNameLP commented Jul 31, 2024

Same behaviour on linux. Also when moving folders.
Reconnecting ingame does not help. The deamon has do be restarted in order to get things working again.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants