Dev mode not refreshing html


#1

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 --server.host="0.0.0.0" --plugin-path /root/kibana/foo/wazuh

Regards,
Jesús


(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.


#3

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?


#5

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.