| Index: sdk/lib/_internal/pub/test/serve/native_watch_added_file_test.dart
|
| diff --git a/sdk/lib/_internal/pub/test/serve/watch_added_file_test.dart b/sdk/lib/_internal/pub/test/serve/native_watch_added_file_test.dart
|
| similarity index 73%
|
| copy from sdk/lib/_internal/pub/test/serve/watch_added_file_test.dart
|
| copy to sdk/lib/_internal/pub/test/serve/native_watch_added_file_test.dart
|
| index 75a1718d4a53c00523e7253310cde69b93338850..4da32bdc62e093cd98881e04bac1d63dea27c3c3 100644
|
| --- a/sdk/lib/_internal/pub/test/serve/watch_added_file_test.dart
|
| +++ b/sdk/lib/_internal/pub/test/serve/native_watch_added_file_test.dart
|
| @@ -8,9 +8,13 @@ import '../descriptor.dart' as d;
|
| import '../test_pub.dart';
|
| import 'utils.dart';
|
|
|
| +// TODO(nweiz): Default to testing the native watcher and add an explicit test
|
| +// for the polling watcher when issue 14941 is fixed.
|
| +
|
| main() {
|
| initConfig();
|
| - integration("picks up files added after serving started", () {
|
| + integration("picks up files added after serving started when using the "
|
| + "native watcher", () {
|
| d.dir(appPath, [
|
| d.appPubspec(),
|
| d.dir("web", [
|
| @@ -18,7 +22,7 @@ main() {
|
| ])
|
| ]).create();
|
|
|
| - startPubServe();
|
| + pubServe(args: ["--no-force-poll"]);
|
| waitForBuildSuccess();
|
| requestShouldSucceed("index.html", "body");
|
|
|
|
|