1

Different from

build_runner build

command,

build_runner watch

does not exit after its build.

So, every time I use it, I type Ctrl+c to exit. Any solutions? Thank you.

Md. Yeasin Sheikh
  • 54,221
  • 7
  • 29
  • 56
Masahiro Aoki
  • 815
  • 12
  • 22

1 Answers1

3

watch: Runs a persistent build server that watches the files system for edits and does rebuilds as necessary.

Means watch make it easier when we don't want to type the command for every changes.

You have to exit the watch manually. You can use build it just runs single time.

You can find more about usage.

Md. Yeasin Sheikh
  • 54,221
  • 7
  • 29
  • 56