BuildRunnerServeProcess class

An interface to interact with the build_runner serve process.

Call start to start the process.

Constructors

BuildRunnerServeProcess(Uri uri, [ String directory = defaultDirectory, bool lowResourcesMode = false, String config, String define ])
BuildRunnerServeProcess.fromParsed(ArgResults results)
Set up a build_runner process with arguments parsed by liveReloadArgParser.
factory

Properties

config → String
final
define → String
final
directory → String
final
lowResourcesMode → bool
final
onBuild → Stream<Null>
A stream that will be notified of each succeeded build of the build_runner.
read-only
served → Future<Null>
A future that will resolve after the build_runner starts serving.
read-only
uri → Uri
final
hashCode → int
The hash code for this object. [...]
read-only, inherited
runtimeType → Type
A representation of the runtime type of the object.
read-only, inherited

Methods

kill([ProcessSignal signal = ProcessSignal.SIGTERM ]) → bool
Kills the process. [...]
start() → Future<Null>
Runs build_runner serve. [...]
noSuchMethod(Invocation invocation) → dynamic
Invoked when a non-existent method or property is accessed. [...]
inherited
toString() → String
Returns a string representation of this object.
inherited

Operators

operator ==(other) → bool
The equality operator. [...]
inherited

Constants

defaultDirectory → const dynamic
'web'
defaultPort → const dynamic
8080