Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support hot-reload on client applications #1687

Open
ballPointPenguin opened this issue Jun 12, 2023 · 6 comments
Open

Support hot-reload on client applications #1687

ballPointPenguin opened this issue Jun 12, 2023 · 6 comments
Assignees
Labels
feature-request For new feature suggestions javascript Pull requests that update Javascript code P2
Milestone

Comments

@ballPointPenguin
Copy link
Contributor

Problem:
Rebuilding and Reloading client applications (admin, participation, report) when developing is slow and cumbersome.

Suggested solution:
Utilize webpack hot-reloading (dev server) and write documentation to support this workflow

Alternative suggestions:
Cloud-based development ?!

Additional context:
This is partly supported, to various degrees, in each client app already but needs to be finished and tested and documented.

@ballPointPenguin ballPointPenguin added the feature-request For new feature suggestions label Jun 12, 2023
@ballPointPenguin ballPointPenguin self-assigned this Jun 12, 2023
@ballPointPenguin ballPointPenguin added P2 javascript Pull requests that update Javascript code labels Jun 12, 2023
@ballPointPenguin ballPointPenguin added this to the Yuki milestone Jun 12, 2023
@Simon-Dirks
Copy link
Contributor

Simon-Dirks commented Jul 13, 2023

Would LOVE this! Any short-term/alternative workarounds for this or is it really the only option to completely rebuild client-participation with each front-end change? (Takes 20+ seconds on my machine..)

@colinmegill
Copy link
Member

I would add that I've got interactive node debugging in the repo as well (VS Code: https://code.visualstudio.com/docs/nodejs/nodejs-debugging and docker https://code.visualstudio.com/docs/containers/debug-node) working, and found it very helpful. A separate issue, but I'm tagging here specifically to make sure it's included in hot reloading dev workflows because it's implicated in that workflow path.

@xeeg
Copy link
Contributor

xeeg commented Jul 14, 2023

@Simon-Dirks We're actively working on completing and releasing this very soon.

@Simon-Dirks
Copy link
Contributor

@Simon-Dirks We're actively working on completing and releasing this very soon.

Hi there! Any news on this? (-:

@ballPointPenguin
Copy link
Contributor Author

ballPointPenguin commented Aug 4, 2023

@Simon-Dirks We're actively working on completing and releasing this very soon.

Hi there! Any news on this? (-:

I have an open PR that moves client-report entirely to Webpack (from Gulp), which had been a blocker.
With this, all client apps will support hot reloading. I'll have some updated docs and info about setting up and running in "dev mode" coming soon.

@Simon-Dirks
Copy link
Contributor

Simon-Dirks commented Aug 8, 2023

Awesome news, can confirm that I'm now hot-reloading client-report during development! Only ran into one minor issue (see PR #1721)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature-request For new feature suggestions javascript Pull requests that update Javascript code P2
Projects
None yet
Development

No branches or pull requests

4 participants