| Index: sdk/lib/_internal/pub_generated/test/serve/watch_modified_file_test.dart
|
| diff --git a/sdk/lib/_internal/pub_generated/test/serve/watch_modified_file_test.dart b/sdk/lib/_internal/pub_generated/test/serve/watch_modified_file_test.dart
|
| new file mode 100644
|
| index 0000000000000000000000000000000000000000..c15b8651a12d118e4424e4e93973ab1bd3f7402b
|
| --- /dev/null
|
| +++ b/sdk/lib/_internal/pub_generated/test/serve/watch_modified_file_test.dart
|
| @@ -0,0 +1,18 @@
|
| +library pub_tests;
|
| +import '../descriptor.dart' as d;
|
| +import '../test_pub.dart';
|
| +import 'utils.dart';
|
| +main() {
|
| + initConfig();
|
| + integration("watches modifications to files", () {
|
| + d.dir(
|
| + appPath,
|
| + [d.appPubspec(), d.dir("web", [d.file("index.html", "before")])]).create();
|
| + pubServe();
|
| + requestShouldSucceed("index.html", "before");
|
| + d.dir(appPath, [d.dir("web", [d.file("index.html", "after")])]).create();
|
| + waitForBuildSuccess();
|
| + requestShouldSucceed("index.html", "after");
|
| + endPubServe();
|
| + });
|
| +}
|
|
|