https://github.com/lmachens/bun-file-not-closed
https://github.com/lmachens/bun-file-not-closed
Last synced: about 1 month ago
JSON representation
- Host: GitHub
- URL: https://github.com/lmachens/bun-file-not-closed
- Owner: lmachens
- Created: 2024-01-05T06:44:11.000Z (over 1 year ago)
- Default Branch: main
- Last Pushed: 2024-01-10T08:53:50.000Z (over 1 year ago)
- Last Synced: 2025-01-21T09:08:32.725Z (3 months ago)
- Language: TypeScript
- Size: 12.7 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# bun-file-not-closed
This project demonstrates the issue described in [#7957](https://github.com/oven-sh/bun/issues/7957).
Bun version: 1.0.21## Usage
To install dependencies:
```bash
bun install
```To run:
```bash
bun run dev
```Open [http://localhost:8080/files](http://localhost:8080/files) in your browser. It tells you how many file handlers are open.
Open [http://localhost:8080](http://localhost:8080) in your browser to load a sample HTML file.
Refresh [http://localhost:8080/files](http://localhost:8080/files) and you'll see that the number of file handlers has increased.