# How to force kibana to optimize after updating plugins

**URL:** <https://discuss.elastic.co/t/how-to-force-kibana-to-optimize-after-updating-plugins/140080>\
**Category:** Kibana\
**Created:** [July 16, 2018, 5:52am UTC](https://discuss.elastic.co/t/how-to-force-kibana-to-optimize-after-updating-plugins/140080 "2018-07-16T05:52:17Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![bamboo2222](https://avatars.discourse-cdn.com/v4/letter/b/82dd89/32.png) [@bamboo2222](https://discuss.elastic.co/u/bamboo2222)\
**Post date:** [July 16, 2018, 5:52am UTC](https://discuss.elastic.co/t/how-to-force-kibana-to-optimize-after-updating-plugins/140080/1 "2018-07-16T05:52:17Z")

</div>

Hi, I'm developing kibana plugins in Win10. It's strange that every time I update the folder "kibana/src/plugins", and then restart the kibana, the optimization step doesn't execute automatically. Can anyone give me some advice? Thanks!

---

<div class="post-metadata">

**Author:** ![chrisronline](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/chrisronline/32/28230_2.png) [@chrisronline](https://discuss.elastic.co/u/chrisronline)\
**Post date:** [July 17, 2018, 5:22pm UTC](https://discuss.elastic.co/t/how-to-force-kibana-to-optimize-after-updating-plugins/140080/2 "2018-07-17T17:22:19Z")

</div>

Hi @bamboo2222,

If you delete the `optimize` folder at the root of Kibana, the optimizer will run again.

Try that and lemme know

Thanks

---

<div class="post-metadata">

**Author:** ![bamboo2222](https://avatars.discourse-cdn.com/v4/letter/b/82dd89/32.png) [@bamboo2222](https://discuss.elastic.co/u/bamboo2222)\
**Post date:** [July 18, 2018, 12:01am UTC](https://discuss.elastic.co/t/how-to-force-kibana-to-optimize-after-updating-plugins/140080/3 "2018-07-18T00:01:08Z")

</div>

That does work! Thanks! 🙂

---

<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:** [August 15, 2018, 12:01am UTC](https://discuss.elastic.co/t/how-to-force-kibana-to-optimize-after-updating-plugins/140080/4 "2018-08-15T00:01:25Z")

</div>

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