Skip to content

Commit 6d50352

Browse files
authored
feat(dart_frog_cli): use new link api from mason_logger (#327)
1 parent fe9853c commit 6d50352

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

packages/dart_frog_cli/lib/src/commands/dev/dev.dart

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -173,7 +173,8 @@ class DevCommand extends DartFrogCommand {
173173
final progress = logger.progress('Serving');
174174
await codegen();
175175
await serve();
176-
progress.complete('Running on http://localhost:$port');
176+
final localhost = link(uri: Uri.parse('http://localhost:$port'));
177+
progress.complete('Running on $localhost');
177178

178179
final entrypoint = path.join(cwd.path, 'main.dart');
179180
final public = path.join(cwd.path, 'public');

packages/dart_frog_cli/pubspec.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ environment:
1111

1212
dependencies:
1313
args: ^2.1.0
14-
mason: ^0.1.0-dev.31
14+
mason: ^0.1.0-dev.33
1515
meta: ^1.7.0
1616
path: ^1.8.1
1717
stream_transform: ^2.0.0

0 commit comments

Comments
 (0)