mirror of
https://github.com/ElectronNET/Electron.NET.git
synced 2026-02-07 21:25:18 +00:00
[PR #380] [CLOSED] Live Reload Implemented #1151
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
📋 Pull Request Information
Original PR: https://github.com/ElectronNET/Electron.NET/pull/380
Author: @syedadeel2
Created: 3/8/2020
Status: ❌ Closed
Base:
master← Head:master📝 Commits (3)
32617c6Live Reload Implemented394aea7Console Output Callback Added300fcbfAuto Reload From Electron Enabled📊 Changes
11 files changed (+310 additions, -20 deletions)
View changed files
📝
ElectronNET.API/Entities/BrowserWindowOptions.cs(+6 -0)➕
ElectronNET.CLI/Commands/DebugElectronCommand.cs(+177 -0)📝
ElectronNET.CLI/ProcessHelper.cs(+86 -0)📝
ElectronNET.CLI/Program.cs(+3 -0)📝
ElectronNET.CLI/Properties/launchSettings.json(+1 -1)📝
ElectronNET.Host/api/browserWindows.js(+11 -0)📝
ElectronNET.Host/api/browserWindows.js.map(+1 -1)📝
ElectronNET.Host/api/browserWindows.ts(+15 -0)📝
ElectronNET.Host/main.js(+2 -17)📝
ElectronNET.WebApp/ElectronNET.WebApp.csproj(+1 -1)📝
ElectronNET.WebApp/Properties/launchSettings.json(+7 -0)📄 Description
Hello,
I have enabled the Live Reload feature in ElectronNET CLI with new command "debug". This feature helps me a lot to increase my development when I need to test my methods with an electron window.
To view the video demo please click on this http://somup.com/cYej1tha0Q link
To enable the LiveReload you have to set the LiveReload variable to true see the below code in Startup.cs
If you like this feature to be apart of ElectronNET please approve and merge and I create an actual demo video for step by step how to enable live reload with ElectronNET.
Thank yous
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.