Index: pkg/dartino_compiler/lib/src/hub/sentence_parser.dart |
diff --git a/pkg/dartino_compiler/lib/src/hub/sentence_parser.dart b/pkg/dartino_compiler/lib/src/hub/sentence_parser.dart |
index b8fc32d0fab4fdd56cdd7ef8d1108089aea7ba8e..e0d8fc47624e05ba0cff0f8d9eaf72049f273312 100644 |
--- a/pkg/dartino_compiler/lib/src/hub/sentence_parser.dart |
+++ b/pkg/dartino_compiler/lib/src/hub/sentence_parser.dart |
@@ -261,6 +261,9 @@ class SentenceParser { |
case "analytics": |
return makeTarget(TargetKind.ANALYTICS); |
+ case "serve": |
+ return makeNamedTarget(TargetKind.SERVE); |
+ |
default: |
return new ErrorTarget(DiagnosticKind.expectedTargetButGot, word); |
} |
@@ -423,6 +426,7 @@ enum TargetKind { |
SESSION, |
SESSIONS, |
SETTINGS, |
+ SERVE, |
STEP, |
STEP_BYTECODE, |
STEP_OVER, |