fixed visuals
This commit is contained in:
15
README.md
15
README.md
@@ -178,13 +178,24 @@ Or open it in your browser:
|
||||
|
||||
### Update the app
|
||||
Make code changes...
|
||||
Do not forget to change the cache version
|
||||
|
||||
Run the live update server locally
|
||||
```bash
|
||||
npm run dev
|
||||
```
|
||||
#### Test the PWA locally
|
||||
Open it in your browser:
|
||||
[http://localhost:8080/](http://localhost:8080/)
|
||||
|
||||
|
||||
When done, do not forget to update the cache version in the `service-worker.js`
|
||||
```bash
|
||||
ver=$(grep -oP "CACHE_VERSION = 'nexus-timer-cache-v\K[0-9]+" public/service-worker.js)
|
||||
sed -i "s/nexus-timer-cache-v$ver/nexus-timer-cache-v$((ver+1))/" public/service-worker.js
|
||||
```
|
||||
Commit and push the code changes
|
||||
Stage changes, commit and push
|
||||
```bash
|
||||
git add .
|
||||
git commit -m 'fixed visuals'
|
||||
git push
|
||||
```
|
||||
|
||||
Reference in New Issue
Block a user