Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/edivados/vite-plugin-codespaces-hmr
Vite plugin to make hmr work in GitHub Codepsaces.
https://github.com/edivados/vite-plugin-codespaces-hmr
codespaces github-codespaces hmr vite vite-plugin
Last synced: 2 months ago
JSON representation
Vite plugin to make hmr work in GitHub Codepsaces.
- Host: GitHub
- URL: https://github.com/edivados/vite-plugin-codespaces-hmr
- Owner: edivados
- Created: 2024-06-30T17:36:30.000Z (7 months ago)
- Default Branch: main
- Last Pushed: 2024-07-02T14:12:25.000Z (7 months ago)
- Last Synced: 2024-07-04T21:53:57.307Z (7 months ago)
- Topics: codespaces, github-codespaces, hmr, vite, vite-plugin
- Language: TypeScript
- Homepage:
- Size: 63.5 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
Make sure to change port visibility to public. Forwarded address will be printed to the console.
```js
import { defineConfig } from "vite";
import codespacesHMR from "vite-plugin-codespaces-hmr";export default defineConfig({
plugins: [codespacesHMR({ port: 3001 })]
});
```Reference: https://github.com/vitejs/vite/issues/8666#issuecomment-1315694497