meilisearch / strapi-plugin-meilisearch

A strapi plugin to add your collections to Meilisearch
https://meilisearch.com
MIT License
223 stars 58 forks source link

Dev server reloads after every collection entry change #927

Closed tennox closed 6 months ago

tennox commented 6 months ago

Description Whenever I'm changing any data, the strapi dev server reloads:

[2024-05-27 13:54:53.253] http: PUT /api/products/1600 (48 ms) 200
[2024-05-27 13:54:53.262] info: File changed: /home/manu/dev/panucho/shop/strapi/meili_data/data.ms/tasks/data.mdb
[2024-05-27 13:54:53.264] info: A task to delete one document from the Meilisearch index "product" has been enqueued (Task uid: 62).
✔ Cleaning dist dir (12ms)
✔ Loading Strapi (1109ms)

Expected behavior No reload

Environment (please complete the following information): OS: NixOS 23.11 Meilisearch version: 1.8,1 strapi-plugin-meilisearch version: strapi-plugin-meilisearch@0.12.0 ├─ meilisearch@^0.38.0 Browser: [e.g. Chrome version 90.0] Strapi version: 4.16.2

tennox commented 6 months ago

When I use strapi start (to disable autoReload) it works fine - so it's my fault, as I put the meili_data just in the strapi folder... sry - found a list of watcher excludes directories