@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.
@@ -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(""), "Build failed", info.handler);
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(" ", 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
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "sideEffects": false,
3
3
  "name": "@intelligems/sst",
4
- "version": "2.49.6-ig.6",
4
+ "version": "2.49.6-ig.7",
5
5
  "bin": {
6
6
  "sst": "cli/sst.js"
7
7
  },
package/package.json.bak CHANGED
@@ -5,7 +5,7 @@
5
5
  },
6
6
  "sideEffects": false,
7
7
  "name": "@intelligems/sst",
8
- "version": "2.49.6-ig.6",
8
+ "version": "2.49.6-ig.7",
9
9
  "bin": {
10
10
  "sst": "cli/sst.js"
11
11
  },