OLD | NEW |
(Empty) | |
| 1 library pub_tests; |
| 2 import '../descriptor.dart' as d; |
| 3 import '../test_pub.dart'; |
| 4 import 'utils.dart'; |
| 5 main() { |
| 6 initConfig(); |
| 7 integration( |
| 8 "watches modifications to files when using the native watcher", |
| 9 () { |
| 10 d.dir( |
| 11 appPath, |
| 12 [d.appPubspec(), d.dir("web", [d.file("index.html", "before")])]).create
(); |
| 13 pubServe(args: ["--no-force-poll"]); |
| 14 requestShouldSucceed("index.html", "before"); |
| 15 d.dir(appPath, [d.dir("web", [d.file("index.html", "after")])]).create(); |
| 16 waitForBuildSuccess(); |
| 17 requestShouldSucceed("index.html", "after"); |
| 18 endPubServe(); |
| 19 }); |
| 20 } |
OLD | NEW |