From 165d2a4d2150752037af68abb0cd1898791ecccc Mon Sep 17 00:00:00 2001 From: Michael <114523164+Michael9311@users.noreply.github.com> Date: Sun, 21 Jan 2024 13:09:25 -0500 Subject: [PATCH 1/2] Add required config for local development See https://github.com/rails/tailwindcss-rails/issues/160 --- README.md | 2 ++ 1 file changed, 2 insertions(+) diff --git a/README.md b/README.md index 1f13e498..f04c8f00 100644 --- a/README.md +++ b/README.md @@ -86,6 +86,8 @@ If you are running `rails tailwindcss:watch` as a process in a Docker container, If you are running `rails tailwindcss:watch` in a docker container without a tty, pass the `always` argument to the task to instruct tailwindcss to keep the watcher alive even when `stdin` is closed: `rails tailwindcss:watch[always]`. If you use `bin/dev` then you should modify your `Procfile.dev`. +Additionally, you must ensure that `config.assets.debug = true` is set in `development.rb`. + #### Foreman From de3e7b1ca6a26b8d5136bb45fe1b820763392b48 Mon Sep 17 00:00:00 2001 From: Michael <114523164+Michael9311@users.noreply.github.com> Date: Sun, 21 Jan 2024 13:10:52 -0500 Subject: [PATCH 2/2] Update README.md --- README.md | 1 - 1 file changed, 1 deletion(-) diff --git a/README.md b/README.md index f04c8f00..cb593670 100644 --- a/README.md +++ b/README.md @@ -88,7 +88,6 @@ If you are running `rails tailwindcss:watch` in a docker container without a tty Additionally, you must ensure that `config.assets.debug = true` is set in `development.rb`. - #### Foreman Running `bin/dev` invokes Foreman to start both the Tailwind watch process and the rails server in development mode based on your `Procfile.dev` file.