blob: 6ee01dd236d3e0c355ae1bb7fde1f60f7d0c0bff [file] [log] [blame] [edit]
// Copyright 2020 The Dart Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
import 'package:path/path.dart' as p;
Future<void> main() async {
print(message);
while (!message.contains('goodbye')) {
print('waiting for hot reload to change message');
await Future<void>.delayed(const Duration(seconds: 1));
}
print(message);
}
String get message => p.join('hello', 'world');