Skip to content

Commit

Permalink
npm run watch → npm run dev
Browse files Browse the repository at this point in the history
  • Loading branch information
frosas committed Mar 6, 2020
1 parent aac2ed0 commit e75ca53
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@

```bash
$ npm i
$ npm run watch
$ npm run dev
```

Open http://localhost:8080
Expand All @@ -14,5 +14,5 @@ Open http://localhost:8080
In the browser console:

```js
navigator.serviceWorker.controller.postMessage('toggleDebugging')
```
navigator.serviceWorker.controller.postMessage("toggleDebugging");
```
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
"lint-typescript": "tsc",
"test": "concurrently -n lint,unit-test,build \"npm run lint\" \"npm run test-unit\" \"npm run build\"",
"test-unit": "npm run babel-node -- node_modules/.bin/mocha 'src/**/*.test.ts'",
"watch": "npm_config_loglevel=silent concurrently -k -n webpack-dev-server,lint,test-unit \"npm run webpack-dev-server\" \"npm run watch-lint\" \"npm run watch-test-unit\"",
"dev": "npm_config_loglevel=silent concurrently -k -n webpack-dev-server,lint,test-unit \"npm run webpack-dev-server\" \"npm run watch-lint\" \"npm run watch-test-unit\"",
"watch-lint": "concurrently -k -n typescript,eslint \"npm run watch-lint-typescript\" \"npm run watch-lint-eslint\"",
"watch-lint-eslint": "onchange -ki --exclude-path .gitignore '**/*.{js,ts,tsx}' -- npm run lint-eslint -- --fix",
"watch-lint-typescript": "npm run lint-typescript -- --watch --preserveWatchOutput --pretty",
Expand Down

0 comments on commit e75ca53

Please sign in to comment.