# How to ignore certain file in dev mode

**URL:** <https://discuss.elastic.co/t/how-to-ignore-certain-file-in-dev-mode/135481>\
**Category:** Kibana\
**Created:** [June 12, 2018, 8:07am UTC](https://discuss.elastic.co/t/how-to-ignore-certain-file-in-dev-mode/135481 "2018-06-12T08:07:33Z")\
**Posts on this page:** 4\
**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 12, 2018, 8:07am UTC](https://discuss.elastic.co/t/how-to-ignore-certain-file-in-dev-mode/135481/1 "2018-06-12T08:07:34Z")

</div>

Hello team!

How to ignore certain files while using `--dev`?

`./bin/kibana --dev --no-base-path --server.host="0.0.0.0" --plugin-path /root/kibana/foo/myplugin`

I also found the next flag:

`--no-watch`

but it applies the whole server.

My plugin itself modifies a file inside myplugin, so the server restarts. Can I ignore certain directory/files from watchers?

Regards,  
Jesús

---

<div class="post-metadata">

**Author:** ![Brandon\_Kobel](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/brandon_kobel/32/14829_2.png) [@Brandon\_Kobel](https://discuss.elastic.co/u/Brandon_Kobel)\
**Post date:** [June 13, 2018, 1:04pm UTC](https://discuss.elastic.co/t/how-to-ignore-certain-file-in-dev-mode/135481/2 "2018-06-13T13:04:38Z")

</div>

Hey @jesusgn90, unfortunately there isn't a way right now to customize this via command line arguments, I'd suggest opening up an [issue](https://github.com/elastic/kibana/issues/new/choose) to add this ability.

---

<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 13, 2018, 1:17pm UTC](https://discuss.elastic.co/t/how-to-ignore-certain-file-in-dev-mode/135481/3 "2018-06-13T13:17:08Z")

</div>

Ok thanks! [https://github.com/elastic/kibana/issues/19854](https://github.com/elastic/kibana/issues/19854)

---

<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 11, 2018, 1:17pm UTC](https://discuss.elastic.co/t/how-to-ignore-certain-file-in-dev-mode/135481/4 "2018-07-11T13:17:09Z")

</div>

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