I'm not sure why this happens, but if you use the Puma plugin, you'll get the following error.
Error: Can't resolve '../builds/tailwind/[engine_name].css'
If you run rails tailwindcss:build
and then restart the rails server with the plugin, things will work. Also, if you just run rails tailwindcss:watch
, the issue does not happen.