-
Notifications
You must be signed in to change notification settings - Fork 262
Closed
Description
Describe the bug
I have a src folder in gitignore, and it is occasionally lost when I reload the ~/github.com/ stackblitz
Link to the blitz that caused the error
https://stackblitz.com/~/github.com/kth-csc-iprog/unit-tests?file=package.json&view=editor
Steps to reproduce
- In stackblitz dashboard, look at github repositories. In my case it is an organization repository: https://stackblitz.com/orgs/github/kth-csc-iprog/repositories
- Open a repo
- Add a folder like "src" to .gitignore
- Commit and push .gitignore
- drag and drop a folder with that name from the OS desktop
- reload page. The folder will not show up. It seems to be treated similar to
node_modules(which is most often in .gitignore) - remove the folder from .gitignore. Commit and push
- drag and drop a folder with that name from the OS desktop
- reload page. The folder is now shown, now it is not lost between reloads. Or not always at least
Expected behavior
If the ~/github.com/ blitzes are merely supposed to be "an editor of what's in github" this is probably correct behavior. But this is very confusing because other blitzes do not lose files/folders like that.
Parity with Local
- I have run the project in my local machine and I could not reproduce the issue.
Screenshots
No response
Platform
I tested this in several chrome browsers, older and newer.
Additional context
No response
Metadata
Metadata
Assignees
Labels
No labels