Open andrekandore opened 2 years ago
There already is! When you open an RoR project and you click on your project settings, you can hit the + sign next to "tasks" and add one of the two tasks: a "Rails dev" task and a "Rails Server" task.
I have no idea what "Rails Dev" does 🤷🏼
Note: Neither am I the creator of this extension, nor do I actually use this task. I let puma-dev handle starting up a server when I need it.
Hi there! Thanks @eirvandelden for pointing this out. I was just about to answer it.
Anyway yes, there are three task templates bundled within the extension:
However I'm aware of an issue that makes the first and last one basically crashing at runtime. I fixed it in a local branch but I've not been able to polish it for a release yet. Besides those fixes I also want to add them to the docs and eventually ask the community for some recommendations or requests for other templates.
thanks @eirvandelden and @tommasongr!
im not sure why i could have missed that but ill take a look!
thanks again!
Hi!
Thanks for the great extension!
I had a small question: is there any work ongoing to add a build or run action for the plugin?
For example, on RubyMine, the run button seems to just call
bundle exec ruby
to the rails server, and seems maybe straightforwards to implement.If there are currently no plans, or no one is working on it, would you accept a PR that adds the feature?
Thanks!