Upgraded to miniflare 3.0.0. how do i run locally?

This used to be our dev script to run locally: "dev": "miniflare --live-reload --debug --modules dist/index.mjs --wrangler-env=dev --env .env" What is the updated miniflare 3.0.0 command to run this locally?
2 Replies
DaniFoldi
DaniFoldi13mo ago
Miniflare 3 no longer includes a cli, the recommended way is to use wrangler dev now.
Gagan Suie
Gagan Suie13mo ago
yes i see the wrangler dev command mentioned in docs but how do include the parameters mentioned above? some of them are deprecated i think i got it. "dev": "wrangler dev --live-reload --log-level debug --env dev",