I suggest having 2 console tabs open, one to fire up the server and listen for changes. The other to watch and build js files.
This will install all dependencies needed to compile the js and run the server
npm install
This will run a browser sync server at http://localhost:3000
. All files in public/dist
directory are being watched for changes and triggering a refresh.
npm start
This will bundle the js files
npm run build
This will watch the js files and trigger a bundling of the js files
npm run watch