Skip to content

Refreshing Cockpit plugin index.html without restart? #19702

Answered by martinpitt
centminmod asked this question in Q&A
Discussion options

You must be logged in to vote

You don't have to restart the service at all. In the worst case, log out and back in. However, it is enough to just force-refresh the page with (Ctrl+Shift+R in Firefox and Chromium), which provides much faster iteration.

Also, please don't copy your own custom pages to /usr/share/, that's package manager territory. If you keep building and installing an rpm that's ok, but it's much faster to just symlink the build tree into ~/.local/share/cockpit, with make devel-install, see https://github.com/cockpit-project/starter-kit/blob/main/README.md#installing

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@centminmod
Comment options

Answer selected by martinpitt
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants