https://github.com/bmeurer/vite-js-breakpoint
https://github.com/bmeurer/vite-js-breakpoint
Last synced: over 1 year ago
JSON representation
- Host: GitHub
- URL: https://github.com/bmeurer/vite-js-breakpoint
- Owner: bmeurer
- License: bsd-3-clause
- Created: 2023-06-14T08:00:01.000Z (about 3 years ago)
- Default Branch: main
- Last Pushed: 2023-06-14T08:00:39.000Z (about 3 years ago)
- Last Synced: 2025-01-22T21:32:10.665Z (over 1 year ago)
- Language: JavaScript
- Size: 4.88 KB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Repro for breakpoints in JS preserved by Vite HMR
Start via:
```
npm install
npm run dev
```
Set a breakpoint in `counter.js` (inside `setCounter()` function), and notice that it hits.
Now modify `counter.js` and wait for the HMR to happen, and notice that the breakpoint is
gone ([vitejs/vite#13503](https://github.com/vitejs/vite/issues/13503)).