mirror of
https://github.com/0xJacky/nginx-ui.git
synced 2026-04-25 16:55:56 +03:00
[GH-ISSUE #740] How can I see the affect with hot-reload after modified frontend code #3485
Labels
No labels
Q/A
bug
casdoor
dependencies
docker
documentation
duplicate
enhancement
help wanted
invalid
lego
platform:openwrt
platform:windows
pull-request
question
wontfix
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/nginx-ui#3485
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 @jxs1211 on GitHub (Nov 18, 2024).
Original GitHub issue: https://github.com/0xJacky/nginx-ui/issues/740
Describe the bug
I changed the frontend code, and need to re-build the code and reboot with
go run main.goto see the affect on web, how can I see the affect with hot-reload?@0xJacky commented on GitHub (Nov 18, 2024):
In the project root, execute the following commands:
Then you can start the dev server of the frontend.
@jxs1211 commented on GitHub (Nov 18, 2024):
I can't login in through the dev server listening on 3002:
but I can access server listening on 9000.
@0xJacky commented on GitHub (Nov 18, 2024):
Create a
.envfile in theappfolder, with the following content:Then re-run
pnpm dev