Broccoli v1.0.0-beta.2 Release Notes
-
➕ 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 callwatcher.quit()
, or rejected if watching one of the source directories fails.server
will callwatcher.watch()
for you.- In contrast,
getMiddleware
expects a watcher that is already watching.