mirror of
https://github.com/rcourtman/Pulse.git
synced 2026-02-18 00:17:39 +01:00
836 B
836 B
⚠️ DO NOT EDIT FRONTEND FILES HERE ⚠️
This frontend-modern directory is AUTO-GENERATED during builds.
The REAL frontend location is
/opt/pulse/frontend-modern
Why does this exist?
- Go's
embeddirective cannot access files outside the module - The build process copies the frontend here for embedding
- This directory is in
.gitignoreand not committed
What happens if you edit files here?
- YOUR CHANGES WILL BE LOST on the next build
- The Makefile deletes and recreates this directory
How to edit frontend code
- Edit files in
/opt/pulse/frontend-modern/src/ - The dev server (port 7655) will hot-reload
- When building for production, the Makefile copies it here
This file exists to prevent confusion. The directory structure is intentional and required by Go's limitations.