Skip to content

Commit

Permalink
chore(mk/run): use npx to execute netlify-cli (#2081)
Browse files Browse the repository at this point in the history
In order to use the `netlify-cli` without installing it globally we can use `npx`.

```bash
$ make run
netlify dev
bash: netlify: command not found
make: *** [run] Error 127
```


Signed-off-by: schogges <[email protected]>
  • Loading branch information
schogges authored Nov 12, 2024
1 parent 2a45090 commit 06058d8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ install: ruby-version-check
bundle install

run: ruby-version-check
netlify dev
npx netlify dev

test:
bundle exec rspec
Expand Down

0 comments on commit 06058d8

Please sign in to comment.