Forums » Bugs
RmlUi - External style sheets are not being reloaded
External style sheets in RmlUi are not being reloaded or reread when using `ReloadInterface()` or `Context:LoadDocument()`. If any changes are made to an external style sheet, the client needs to be restarted to see the results.
In my specific test case I was using the following <link> tag in the <head> of my .RML
<link type="text/rcss" href="/plugins/rmlcore/core.rcss"/>
The first time any of my documents are loaded the external style sheet gets read into memory. If I make a change to the external style sheet, those changes will not be reflected in the game. It does not matter if a completely different document is loaded or if the original document is closed (`Document:Close()`) and loaded again.
Tested on Linux with vendetta-1.8.775.
In my specific test case I was using the following <link> tag in the <head> of my .RML
<link type="text/rcss" href="/plugins/rmlcore/core.rcss"/>
The first time any of my documents are loaded the external style sheet gets read into memory. If I make a change to the external style sheet, those changes will not be reflected in the game. It does not matter if a completely different document is loaded or if the original document is closed (`Document:Close()`) and loaded again.
Tested on Linux with vendetta-1.8.775.
It looks like this may be specifically related to the <link> tag. After submitting the original post, I moved on to testing out templates and discovered the same issue when editing the template files.