webcontainer-core icon indicating copy to clipboard operation
webcontainer-core copied to clipboard

Unable to delete binary file

Open marklundin opened this issue 10 months ago • 0 comments

Describe the bug

In this project I want to delete the file /public/skull.compressed.ply. This is a binary file. If I delete it, it's removed from the file heirarchy, but after refreshing it returns.

Link to the blitz that caused the error

https://stackblitz.com/edit/pc-react-gaussian-splats

Steps to reproduce

  1. Go to https://stackblitz.com/edit/pc-react-gaussian-splats
  2. Navigate to the file /public/skull.compressed.ply
  3. Delete the file using the delete button on the right of the fille name
  4. Confirm file deletion in the popup
  5. Note the file is removed.
  6. Refresh the entire page, file returns

Expected behavior

After deleting the file and refreshing the project the file should not exist.

Parity with Local

Screenshots

No response

Platform

Browser name  = Chrome
Full version  = 132.0.0.0
Major version = 132
navigator.appName = Netscape
navigator.userAgent = Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/132.0.0.0 Safari/537.36
performance.memory = {
  "totalJSHeapSize": 230617277,
  "usedJSHeapSize": 193947393,
  "jsHeapSizeLimit": 4294705152
}
Hash = 7f809d15

Additional context

No response

marklundin avatar Feb 13 '25 12:02 marklundin