Hacktoberfest 2026: le issue che i maintainer hanno segnato per ottobre, aperte e adatte ai principianti. Sfoglia le issue Hacktoberfest

Stache Watcher not working

Aperta
#12,824 1 commento 0 reazioni 0 assegnatari Vedi su GitHub

I maintainer di solito rispondono entro 1 giorno

Nessuno ha ancora preso questa issue.

Valutazione

Difficoltà
3/5
Tempo stimato
1-2 giorni
Idoneità per principianti
38/100
Tipo di issue
Bug
Chiarezza
Abbastanza chiara
Stato di attività
Ferma
Stack tecnologico
laravel, php
Ambito
backend

Direzione di ricerca

Start by tracing how STATAMIC_STACHE_WATCHER=auto handles filesystem changes after an entry is deleted. Reproduce the report by creating an entry in the CP, deleting its file, and checking the CP; compare with clearing the stache. Done means the deleted entry no longer appears in listings or remains editable.

Scritto dal modello di indicizzazione a partire dal testo della issue.

Descrizione

stache
Bug description

I have STATAMIC_STACHE_WATCHER set to auto locally, and I've deleted some collection entries in the file system. However, the listings in the CP still show the entries, and those are even editable. Clearing the stache fixes it.

How to reproduce
  • Ensure the stache watcher is enabled
  • Create an entry via CP
  • Delete the entry in the file system
  • Have a look at the CP
Logs
-
Environment
Environment
Application Name: handschin & handschin
Laravel Version: 12.35.0
PHP Version: 8.4.13
Composer Version: 2.8.11
Environment: local
Debug Mode: ENABLED
URL: statamic-handschin.test
Maintenance Mode: OFF
Timezone: UTC
Locale: en

Cache
Config: NOT CACHED
Events: NOT CACHED
Routes: NOT CACHED
Views: CACHED

Drivers
Broadcasting: log
Cache: file
Database: sqlite
Logs: stack / single
Mail: log
Queue: sync
Session: file

Storage
public/storage: NOT LINKED

Livewire
Livewire: v3.6.4

Statamic
Addons: 3
Sites: 1
Stache Watcher: Enabled
Static Caching: Disabled
Version: 6.0.0-alpha.14 PRO

Statamic Addons
marcorieser/statamic-livewire: dev-statamic-6
marcorieser/statamic-vitals: dev-statamic-6
marcorieser/tailwind-merge-statamic: dev-statamic-6
Installation

Fresh statamic/statamic site via CLI

Additional details

v5 to v6 updated

Lingua principale
PHP
Stelle
4.9k
Fork
647
Merge medio
1g 20h
PR unite (30g)
113

Preparare l'ambiente

Questo progetto non fornisce container di sviluppo, Dockerfile né guida per i contributori, quindi l'ambiente è a tuo carico: parti dal suo README e consulta la nostra guida al primo contributo per i passaggi generali.

Come iniziare

  1. Leggi tutta la issue e poi la guida ai contributi del progetto.
  2. Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
  3. Fai un fork del repository e lavora su un branch.
  4. Apri una pull request che faccia riferimento al numero della issue.

Altre issue di statamic/cms

Tutte le issue di statamic/cms

Issue simili

Altre issue su PHP

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.