File tree Expand file tree Collapse file tree 3 files changed +9
-4
lines changed
Expand file tree Collapse file tree 3 files changed +9
-4
lines changed Original file line number Diff line number Diff line change 1+ ## 0.15.5 (2023-12-12)
2+
3+ - f57a60a fix(#182 , #187 ): correctly ` options.reload() `
4+ - f606551 Merge pull request #178 from electron-vite/v0.15.4
5+
16## 0.15.4 (2023-11-08)
27
38- 532e0b4 Merge pull request #177 from Siykt/main
Original file line number Diff line number Diff line change 11{
22 "name" : " vite-plugin-electron" ,
3- "version" : " 0.15.4 " ,
3+ "version" : " 0.15.5 " ,
44 "description" : " Electron 🔗 Vite" ,
55 "main" : " ./dist/index.js" ,
66 "types" : " ./dist/index.d.ts" ,
Original file line number Diff line number Diff line change @@ -76,9 +76,9 @@ export default function electron(options: ElectronOptions | ElectronOptions[]):
7676 if ( options . onstart ) {
7777 options . onstart . call ( this , {
7878 startup,
79- reload ( ) {
80- server . ws . send ( { type : 'full-reload' } )
81- } ,
79+ reload : process . electronApp
80+ ? ( ) => server . ws . send ( { type : 'full-reload' } )
81+ : startup ,
8282 } )
8383 } else {
8484 startup ( )
You can’t perform that action at this time.
0 commit comments