| Index: sdk/lib/_internal/pub/lib/src/barback/source_directory.dart
|
| diff --git a/sdk/lib/_internal/pub/lib/src/barback/source_directory.dart b/sdk/lib/_internal/pub/lib/src/barback/source_directory.dart
|
| index 725c4fcb40375d26b1c6e8de9265ed496c4b63f7..fbb74686b5e00a137a3abdd5dcb775e2617a217d 100644
|
| --- a/sdk/lib/_internal/pub/lib/src/barback/source_directory.dart
|
| +++ b/sdk/lib/_internal/pub/lib/src/barback/source_directory.dart
|
| @@ -42,8 +42,8 @@ class SourceDirectory {
|
|
|
| /// Binds a server running on [hostname]:[port] to this directory.
|
| Future<BarbackServer> serve() {
|
| - return BarbackServer.bind(_environment, hostname, port, directory)
|
| - .then((server) {
|
| + return BarbackServer.bind(_environment, hostname, port,
|
| + rootDirectory: directory).then((server) {
|
| _serverCompleter.complete(server);
|
| return server;
|
| });
|
|
|