Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

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.

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