Changelog
1.0.0-beta.8
Changelog
1.0.0-beta.7
postinstall
hook. This removes a spurious dependency on
multidep
.Changelog
1.0.0-beta.5
beginBuild
/endBuild
(formerly start
/end
) events on builderChangelog
1.0.0-beta.2
Add watcher.watch()
method. Watcher
no longer automatically starts
watching; instead, you must call this method explicitly. It returns a promise
that is fulfilled if you later call watcher.quit()
, or rejected if watching
one of the source directories fails.
server
will call watcher.watch()
for you.getMiddleware
expects a watcher that is already watching.Changelog
1.0.0-beta.1
Drop support for plugins that implement only the old .read/.rebuild
API
Fail build when a source node is a file rather than a directory
Fail build when a source node doesn't exist
Builder API changes:
new Builder
has a tmpdir
option, which defaults to os.tmpdir()
(typically /tmp
); pass { tmpdir: './tmp' }
to get the old behavior.build()
no longer returns a promise to the output path; instead, the
output path stored at builder.outputPath
and doesn't change between
buildsstart
, end
, nodeStart
, nodeEnd
events renamed to
beginBuild
, endBuild
, beginNode
, endNode
nodeBegin
/nodeEnd
arguments are "node wrapper"
objects (also accessible at builder.nodeWrappers
); timings now
reside at nodeWrapper.buildState.selfTime/totalTime
and are in
milliseconds, not nanosecondsbuild()
no longer takes a willReadStringTree
callback argument;
instead, source directories are recorded at builder.watchedPaths
Watcher API changes:
watcher.quit()
method, which returns a promise until a running
build has finished (if any)watcher.current
to watcher.currentBuild
, and remove
watcher.then
RSVP.EventTarget
instead of EventEmitter
for eventsBuild error objects have been changed to Builder.BuildError
objects, which
contain additional information at err.broccoliPayload