Building a better bin/dev script

Rails 7.2 uses the foreman gem for process management, which has serious limitations when it comes to interactive debugging. The run-pty Node package is an excellent alternative. Rails needs multiple processes Modern Rails apps often need to run multiple processes for local development. These processes include frontend watchers such as: yarn build --watch # prescribed by jsbundling-rails npx…