dev watches your site and reloads it
Build doesn't watch but it optimises your site - it runs a bit slower. Only use npm run dev when you are ready to deploy.
npm run dev
If copying this, first thing to do it run npm install to deploy dependencies.
npm install