Describe the bug
I create a directory with a name that starts with a dot, will the system (Stackblitz or WebContainer? i dont know) not recognize it. chrome on windows.
like this,
await mkdir(`./.directory`, { recursive: true });
Since the mkdir function itself is working, I am reporting this problem as a “bug” rather than a “support” or “feature” problem.
Link to the blitz that caused the error
https://stackblitz.com/edit/stackblitz-starters-nwchkmq2?file=storybookScript.js,main.js
Steps to reproduce
- Open the link.
- Check current directory and files at this point.
- Run
npm run main.
- Ensure that a directory with a name beginning with a dot is created but does not appear in the sidebar FILES.
- Save (or fork) project.
- Reload browser.
- Run
ls -a to confirm that the directory has been removed.
Expected behavior
Created directory with a name that starts with a dot is also reflected in the GUI and saved.
Parity with Local
Screenshots
a created directory with a name beginning with a dot (.directory) does not appear in the GUI.

Platform
Browser name = Chrome
Full version = 134.0.0.0
Major version = 134
navigator.appName = Netscape
navigator.userAgent = Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/134.0.0.0 Safari/537.36
performance.memory = {
"totalJSHeapSize": 129836947,
"usedJSHeapSize": 123973911,
"jsHeapSizeLimit": 4294705152
}
Hash = 33edf5bb
Additional context
same? #1439
Describe the bug
I create a directory with a name that starts with a dot, will the system (Stackblitz or WebContainer? i dont know) not recognize it. chrome on windows.
like this,
Since the mkdir function itself is working, I am reporting this problem as a “bug” rather than a “support” or “feature” problem.
Link to the blitz that caused the error
https://stackblitz.com/edit/stackblitz-starters-nwchkmq2?file=storybookScript.js,main.js
Steps to reproduce
npm run main.ls -ato confirm that the directory has been removed.Expected behavior
Created directory with a name that starts with a dot is also reflected in the GUI and saved.
Parity with Local
Screenshots
a created directory with a name beginning with a dot (

.directory) does not appear in the GUI.Platform
Additional context
same? #1439