Dev mode not refreshing html


Hello team, whenever I modify my JS files the dev mode is refreshing my JS files but whenever I modify the HTML files I need to remove optimize/bundles and start again. Is there a missing option from my command?

yarn start --oss --no-base-path"" --plugin-path /root/kibana/foo/wazuh


(Bill McConaghy) #2

Dev mode does not appear to watch the html files from what I can tell. I would suggest opening an enhancement request in the Kibana Github repo.


Ok I did it, just execute this before start development:

echo fs.inotify.max_user_watches=524288 | sudo tee -a /etc/sysctl.conf && sudo sysctl -p

This way we can have many files opened at the same time and it worked for me.

(Bill McConaghy) #4

Awesome good find, so it was trying to watch the files but ran out of watchers?


Yep, I think that's exactly what was happening, hope it helps!

(system) #6

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.