From 7a5bdb0c81f504ff2391355c0f5350bc805d697a Mon Sep 17 00:00:00 2001 From: Douglas Muth Date: Sat, 15 May 2021 16:06:44 -0400 Subject: [PATCH] Added instructions for displaying version Id in debug message --- README.md | 2 ++ 1 file changed, 2 insertions(+) diff --git a/README.md b/README.md index be006bc..0a300db 100644 --- a/README.md +++ b/README.md @@ -60,6 +60,7 @@ A local webserver can be set up by running `npm install http-server -g` to insta - `npm run dev-build` - Run webpack to pack Javascript files and watch for changes. - `http-server` - `vim src/lib.js src/index.js` +- `rm -fv src/index.js && git co src/index.js` - Get the new SHA1 hash that will be displayed in debug messages. - `npm test` - Make sure you didn't break any of the core logic! - `npm run build` - Webpack Javscript files in production mode (smaller file but takes longer) - `./go-sync-to-s3.sh` - Do this if you're me, to upload to S3. If you're not me, you'll need to do something else, or possibly nothing at all. @@ -70,6 +71,7 @@ A local webserver can be set up by running `npm install http-server -g` to insta - `npm run clean; npm run dev-build` - Run webpack in dev mode while working on Javascript - `http-server` - Stand up a local HTTP server - `vim src/lib.js src/index.js` + - `rm -fv src/index.js && git co src/index.js` - `npm run clean; npm run build` - Run webpack in prod mode to produce final Javascript bundle - `./go-sync-to-s3.sh` - Do this if you're me, to upload to S3. If you're not me, you'll need to do something else, or possibly nothing at all.