mirror of
https://github.com/kusti8/proton-native.git
synced 2026-05-15 22:02:24 -06:00
[GH-ISSUE #84] Refresh content #49
Labels
No labels
bug
documentation
enhancement
libui issue
pull-request
question
wait for libui implementation
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference: github-starred/proton-native#49
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
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?
Originally created by @gjabelAmbitas on GitHub (Apr 26, 2018).
Original GitHub issue: https://github.com/kusti8/proton-native/issues/84
How to refresh content? Its running on some packager server? or i need to restart it every time i made change? Thanks.
@mischnic commented on GitHub (Apr 26, 2018):
You need to restart node.
@kusti8 Something like Hot Module Replacement would be great!
@kusti8 commented on GitHub (Apr 27, 2018):
It would be nice, but I want to focus on adding yoga, and merging your
UiArea and stuff like that first. I've been really busy, but I'll get to it.
It would be easy to just reload the entire thing if there is a change, but
to do actual hot reloading is pretty hard.
On Thu, Apr 26, 2018 at 12:52 PM Niklas Mischkulnig <
notifications@github.com> wrote:
@gjabelAmbitas commented on GitHub (Apr 27, 2018):
Closing this issue... :) thanks for reply
@mischnic commented on GitHub (Apr 27, 2018):
@kusti8 In case you do want to work on this, I've setup the required tooling (webpack with hot reloading) in this repo: https://github.com/mischnic/proton-hot-boilerplate.
Currently, it simply calls
render(<App/>)on every change (which doesn't work).EDIT: I've got it working quite well now. (Reloading the
Appdoesn't work, onlyWindows).