I have Kibana v7.10.2 on linux system.
Kibana loads CSS resource
http://localhost:5601/36136/bundles/kbn-ui-shared-deps/kbn-ui-shared-deps.v7.light.css
the only relevant file can be found at:
./node_modules/@kbn/ui-shared-deps/target/kbn-ui-shared-deps.v7.light.css
which I believe it is built from ./node_modules/@elastic/eui/dist/eui_theme_light.css
.
I sequencedly made some changes to both these files and daemon-reload and restart the service, but the changes are not reflecting on the browser.
I don't see the optimize
dir in /usr/share/kibana/
but there is in /usr/share/kibana/src/
- deleting this and restart the service will throw 'missing files' failure.
Is there a way to directly hot change the CSS file? I understand it can be done in dev mode and building distributable.. but it is time-consuming.
I'm also wondering how does Kibana bundle and serve these kinds of resources? even deleting ./node_modules/@kbn/ui-shared-deps/target/kbn-ui-shared-deps.v7.light.css
would make Kibana run normally...