Index: pkg/dartino_compiler/lib/src/verbs/infrastructure.dart |
diff --git a/pkg/dartino_compiler/lib/src/verbs/infrastructure.dart b/pkg/dartino_compiler/lib/src/verbs/infrastructure.dart |
index 46fe2a80c79350d9e08bc02bfea04df714a8b996..79c0c619c33d9ae351b54dd897116b6f13afd835 100644 |
--- a/pkg/dartino_compiler/lib/src/verbs/infrastructure.dart |
+++ b/pkg/dartino_compiler/lib/src/verbs/infrastructure.dart |
@@ -401,7 +401,7 @@ AnalyzedSentence analyzeSentence(Sentence sentence, Options options) { |
Uri targetUri; |
if (target is NamedTarget) { |
targetName = target.name; |
- if (target.kind == TargetKind.FILE) { |
+ if (target.kind == TargetKind.FILE || target.kind == TargetKind.SERVE) { |
targetUri = fileUri(targetName, base); |
} |
} |