Skip to content

Commit

Permalink
Fixed for local run
Browse files Browse the repository at this point in the history
  • Loading branch information
rzadp committed Aug 9, 2024
1 parent c5e4bc9 commit d06af06
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 4 deletions.
4 changes: 1 addition & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -97,9 +97,7 @@ yarn test:integration

### Start a bot

After registering and configuring the bot environment, we can run it. We use
[Nodemon](https://nodemon.io/) for hot-reloading, the `probot` package
automatically parses the relevant `.env` values.
After registering and configuring the bot environment, we can run it.

```sh
$ yarn start
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
"fix:eslint": "npx eslint --fix",
"fix:prettier": "npx prettier --write",
"fix": "yarn fix:eslint '{*,**/*}.{js,ts}' && yarn fix:prettier '{*,**/*}.json'",
"start": "concurrently \"tsc -w\" \"node --watch dist/bot.js\"",
"start": "concurrently \"tsc -w\" \"node --env-file=.env --watch dist/bot.js\"",
"build": "rimraf dist; tsc",
"test": "jest",
"test:integration": "jest -c jest.integration.config.js",
Expand Down

0 comments on commit d06af06

Please sign in to comment.