Skip to content

Commit

Permalink
run the tailwind watcher as a puma plugin
Browse files Browse the repository at this point in the history
  • Loading branch information
indirect committed Jan 6, 2024
1 parent 8e2fc8e commit c8249a1
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 0 additions & 1 deletion Procfile.dev
Original file line number Diff line number Diff line change
@@ -1,2 +1 @@
web: bin/rails server -p 3000
css: bin/rails tailwindcss:watch
2 changes: 2 additions & 0 deletions config/puma.rb
Original file line number Diff line number Diff line change
Expand Up @@ -41,3 +41,5 @@

# Allow puma to be restarted by `bin/rails restart` command.
plugin :tmp_restart

plugin :tailwindcss if ENV.fetch("RAILS_ENV", "development") == "development"

0 comments on commit c8249a1

Please sign in to comment.