Skip to content

edivados/vite-plugin-codespaces-hmr

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Make sure to change port visibility to public. Forwarded address will be printed to the console.

import { defineConfig } from "vite";
import codespacesHMR from "vite-plugin-codespaces-hmr";

export default defineConfig({
  plugins: [codespacesHMR({ port: 3001 })]
});

Reference: vitejs/vite#8666 (comment)

About

Vite plugin to make hmr work in GitHub Codepsaces.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published