| 1 | // Edited by the dev-mode HMR spec (test/smoke.test.ts): the marker constant |
| 2 | // below is swapped in place, the spec polls until nitro's dev rebuild serves |
| 3 | // the new value, and the original source is restored in a finally. |
| 4 | const marker = "hmr-marker-v1"; |
| 5 | |
| 6 | export default defineEventHandler(() => ({ marker })); |