This is a memory footprint assessment of all the possibilities to start the Rack server and the assets watch. I know this isn't a scientific approach, but it gives us the order of magnitude of the differences between the options.
- Using Ruby and NPM as middlemen to execute other commands wastes memory.
bundle exec hanami server
andassets
,npm exec
- Foreman executes 3 Ruby processes.