@intelligems/sst 2.49.6-ig.6 → 2.49.6-ig.7
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/cli/commands/dev.js +14 -2
- package/package.json +1 -1
- package/package.json.bak +1 -1
package/cli/commands/dev.js
CHANGED
|
@@ -151,11 +151,23 @@ export const dev = (program) => program.command(["dev", "start"], "Work on your
|
|
|
151
151
|
if (info.enableLiveDev === false)
|
|
152
152
|
return;
|
|
153
153
|
Colors.gap();
|
|
154
|
-
Colors.line(Colors.danger("
|
|
154
|
+
Colors.line(Colors.danger("═".repeat(60)));
|
|
155
|
+
Colors.line(Colors.danger(" FUNCTION BUILD FAILED - SST IS EXITING"));
|
|
156
|
+
Colors.line(Colors.danger("═".repeat(60)));
|
|
157
|
+
Colors.gap();
|
|
158
|
+
Colors.line(Colors.danger("✖ "), "Handler:", info.handler);
|
|
159
|
+
Colors.line(Colors.danger("✖ "), "Function ID:", evt.properties.functionID);
|
|
160
|
+
Colors.gap();
|
|
161
|
+
Colors.line(Colors.danger(" Errors:"));
|
|
155
162
|
for (const line of evt.properties.errors) {
|
|
156
|
-
Colors.line("
|
|
163
|
+
Colors.line(Colors.danger(" → "), line);
|
|
157
164
|
}
|
|
158
165
|
Colors.gap();
|
|
166
|
+
Colors.line(Colors.danger("═".repeat(60)));
|
|
167
|
+
Colors.line(Colors.danger(" Fix the error above and restart `sst dev`"));
|
|
168
|
+
Colors.line(Colors.danger("═".repeat(60)));
|
|
169
|
+
Colors.gap();
|
|
170
|
+
process.exit(1);
|
|
159
171
|
});
|
|
160
172
|
bus.subscribe("function.success", async (evt) => {
|
|
161
173
|
// Skip warmup request logs
|
package/package.json
CHANGED