# Dev mode not refreshing html

**URL:** <https://discuss.elastic.co/t/dev-mode-not-refreshing-html/136167>\
**Category:** Kibana\
**Created:** [June 16, 2018, 7:56am UTC](https://discuss.elastic.co/t/dev-mode-not-refreshing-html/136167 "2018-06-16T07:56:15Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![jesusgn90](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/jesusgn90/32/26998_2.png) [@jesusgn90](https://discuss.elastic.co/u/jesusgn90)\
**Post date:** [June 16, 2018, 7:56am UTC](https://discuss.elastic.co/t/dev-mode-not-refreshing-html/136167/1 "2018-06-16T07:56:15Z")

</div>

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?

```auto
yarn start --oss --no-base-path --server.host="0.0.0.0" --plugin-path /root/kibana/foo/wazuh

```

Regards,  
Jesús

---

<div class="post-metadata">

**Author:** ![Bill\_McConaghy](https://avatars.discourse-cdn.com/v4/letter/b/ed655f/32.png) [@Bill\_McConaghy](https://discuss.elastic.co/u/Bill_McConaghy)\
**Post date:** [June 18, 2018, 12:26pm UTC](https://discuss.elastic.co/t/dev-mode-not-refreshing-html/136167/2 "2018-06-18T12:26:44Z")

</div>

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.

---

<div class="post-metadata">

**Author:** ![jesusgn90](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/jesusgn90/32/26998_2.png) [@jesusgn90](https://discuss.elastic.co/u/jesusgn90)\
**Post date:** [June 18, 2018, 12:50pm UTC](https://discuss.elastic.co/t/dev-mode-not-refreshing-html/136167/3 "2018-06-18T12:50:15Z")

</div>

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.

---

<div class="post-metadata">

**Author:** ![Bill\_McConaghy](https://avatars.discourse-cdn.com/v4/letter/b/ed655f/32.png) [@Bill\_McConaghy](https://discuss.elastic.co/u/Bill_McConaghy)\
**Post date:** [June 18, 2018, 2:31pm UTC](https://discuss.elastic.co/t/dev-mode-not-refreshing-html/136167/4 "2018-06-18T14:31:24Z")

</div>

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

---

<div class="post-metadata">

**Author:** ![jesusgn90](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/jesusgn90/32/26998_2.png) [@jesusgn90](https://discuss.elastic.co/u/jesusgn90)\
**Post date:** [June 18, 2018, 2:42pm UTC](https://discuss.elastic.co/t/dev-mode-not-refreshing-html/136167/5 "2018-06-18T14:42:46Z")

</div>

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

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/elastic/original/3X/1/a/1ac57faf039f6b580b3f104ef42a2a89e41014de.png) [@system](https://discuss.elastic.co/u/system)\
**Post date:** [July 16, 2018, 2:42pm UTC](https://discuss.elastic.co/t/dev-mode-not-refreshing-html/136167/6 "2018-07-16T14:42:52Z")

</div>

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