mattbrictson.com · Aug 21, 2023
Speed up your default Rake task with the multitask -m option
0Sign in to vote or save
This site does not allow itself to be embedded. You can still read it on the original site — the toolbar below keeps your place in the directory.
I recently discovered that Rake has the ability to run tasks in parallel. For Rails projects with many test and linting tasks, this can be a huge time-saver. tl;dr bin/rake -m turns your default Rake task into a “multitask” that runs its prerequisites in parallel. You may need to restructure the definition of your default Rake task to take full advantage. One of my projects saw a 3x…
Comments
Nothing yet. Say the first thing.
Sign in to join the conversation.