Set alias for a project

I’m working on a Rails 6 project that is still dependent on sprockets. Which means I am often clobbering and precompiling when cleaning up on CSS styling. Setting up aliases help me save time.

alias rap='bin/rails assets:precompile && bin/rails s'
alias rac='bin/rails assets:clobber && bin/rails assets:precompile && bin/rails s'


You might not have to clobber and pre-compile. It may be an issue with a webpacker dependency. To fix, try deleting public/packs and public/assets.