From f7935bde349df92e7e30b39176d2df1a22b20ff3 Mon Sep 17 00:00:00 2001 From: Jean-Baptiste Bellet Date: Tue, 18 Apr 2023 16:02:02 +0200 Subject: [PATCH] Enable caching dy default, to avoid StimulusReflex warning MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit ``` Heads up! 🔥 👉 StimulusReflex requires caching to be enabled. Caching allows the session to be modified during ActionCable requests. To enable caching in development, run: rails dev:cache ``` Documentation: https://docs.stimulusreflex.com/hello-world/setup.html#manual-configuration --- Procfile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Procfile b/Procfile index ba11bc27af..5bd98f6681 100644 --- a/Procfile +++ b/Procfile @@ -1,5 +1,5 @@ # Foreman Procfile. Start all dev server processes with: `foreman start` -rails: bundle exec rails s -p 3000 +rails: DEV_CACHING=true bundle exec rails s -p 3000 webpack: ./bin/webpack-dev-server -sidekiq: bundle exec sidekiq -q mailers -q default +sidekiq: DEV_CACHING=true bundle exec sidekiq -q mailers -q default