You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This is a idea for an alternative way to run the dartsass watcher without using foreman. I didn't start with a PR to add this because maybe it has some disadvantages I'm unaware of, or it might be unwanted.
So, instead of foreman, I changed my Rails config.ru file to spawn a thread that runs the dartsass watcher instead:
Running ./bin/rails server is enough - this is minor, but probably removes some friction for people coming into dartsass and having to now change their usual start server command.
This feels like a better way, but of course I could be missing something. Thoughts?
The text was updated successfully, but these errors were encountered:
Yeah, we're exploring this for tailwind css as well. We need a generic solution that ships in Rails to do this, though. But I think there's a good chance we can do this. See rails/tailwindcss-rails#347 for more discussions on this.
Hello,
This is a idea for an alternative way to run the dartsass watcher without using foreman. I didn't start with a PR to add this because maybe it has some disadvantages I'm unaware of, or it might be unwanted.
So, instead of foreman, I changed my Rails config.ru file to spawn a thread that runs the dartsass watcher instead:
For me, this offers a few advantages:
This feels like a better way, but of course I could be missing something. Thoughts?
The text was updated successfully, but these errors were encountered: