[PR #390] [MERGED] Live reload #1154

Open
opened 2026-01-29 16:57:52 +00:00 by claunia · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/ElectronNET/Electron.NET/pull/390
Author: @syedadeel2
Created: 5/1/2020
Status: Merged
Merged: 5/1/2020
Merged by: @GregorBiswanger

Base: masterHead: LiveReload


📝 Commits (5)

  • a0e0cc3 /watch arg added, main.js updated
  • 20ca72b my file deleted
  • 2987e31 commented out the code
  • 00eb986 1. Watch enabled successfully.
  • 01d938f Storing main window instance to reload later.

📊 Changes

12 files changed (+315 additions, -66 deletions)

View changed files

📝 ElectronNET.API/ElectronNET.API.csproj (+1 -1)
📝 ElectronNET.API/WebHostBuilderExtensions.cs (+16 -4)
📝 ElectronNET.CLI/Commands/StartElectronCommand.cs (+12 -1)
📝 ElectronNET.CLI/ElectronNET.CLI.csproj (+7 -2)
📝 ElectronNET.CLI/Properties/launchSettings.json (+1 -1)
📝 ElectronNET.Host/api/browserWindows.js (+16 -1)
📝 ElectronNET.Host/api/browserWindows.ts (+18 -2)
📝 ElectronNET.Host/main.js (+87 -13)
📝 ElectronNET.Host/package-lock.json (+151 -38)
📝 ElectronNET.Host/package.json (+1 -0)
📝 ElectronNET.WebApp/Controllers/MenusController.cs (+3 -1)
📝 ElectronNET.WebApp/ElectronNET.WebApp.csproj (+2 -2)

📄 Description

Hi,

I have re-wrote the Live Reload concept and tested. see the demo video
https://screencast-o-matic.com/watch/cYhVQfBuPo

If everything is good please merge and assign me any issues raised by any user.

Regards,


🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/ElectronNET/Electron.NET/pull/390 **Author:** [@syedadeel2](https://github.com/syedadeel2) **Created:** 5/1/2020 **Status:** ✅ Merged **Merged:** 5/1/2020 **Merged by:** [@GregorBiswanger](https://github.com/GregorBiswanger) **Base:** `master` ← **Head:** `LiveReload` --- ### 📝 Commits (5) - [`a0e0cc3`](https://github.com/ElectronNET/Electron.NET/commit/a0e0cc3bbc7df666c6d3d55b38206a397addcb85) /watch arg added, main.js updated - [`20ca72b`](https://github.com/ElectronNET/Electron.NET/commit/20ca72b7943706675d896db060014d57d79b5fca) my file deleted - [`2987e31`](https://github.com/ElectronNET/Electron.NET/commit/2987e3143d535efc2886e4d61e4414c9e8e52765) commented out the code - [`00eb986`](https://github.com/ElectronNET/Electron.NET/commit/00eb9869dc16eae47a3d424b9b448da5e35e8751) 1. Watch enabled successfully. - [`01d938f`](https://github.com/ElectronNET/Electron.NET/commit/01d938fb1aa420b8d49aced18ca65cc3c3019fdf) Storing main window instance to reload later. ### 📊 Changes **12 files changed** (+315 additions, -66 deletions) <details> <summary>View changed files</summary> 📝 `ElectronNET.API/ElectronNET.API.csproj` (+1 -1) 📝 `ElectronNET.API/WebHostBuilderExtensions.cs` (+16 -4) 📝 `ElectronNET.CLI/Commands/StartElectronCommand.cs` (+12 -1) 📝 `ElectronNET.CLI/ElectronNET.CLI.csproj` (+7 -2) 📝 `ElectronNET.CLI/Properties/launchSettings.json` (+1 -1) 📝 `ElectronNET.Host/api/browserWindows.js` (+16 -1) 📝 `ElectronNET.Host/api/browserWindows.ts` (+18 -2) 📝 `ElectronNET.Host/main.js` (+87 -13) 📝 `ElectronNET.Host/package-lock.json` (+151 -38) 📝 `ElectronNET.Host/package.json` (+1 -0) 📝 `ElectronNET.WebApp/Controllers/MenusController.cs` (+3 -1) 📝 `ElectronNET.WebApp/ElectronNET.WebApp.csproj` (+2 -2) </details> ### 📄 Description Hi, I have re-wrote the Live Reload concept and tested. see the demo video https://screencast-o-matic.com/watch/cYhVQfBuPo If everything is good please merge and assign me any issues raised by any user. Regards, --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
claunia added the pull-request label 2026-01-29 16:57:52 +00:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/Electron.NET#1154