We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent ec330bc commit a04354eCopy full SHA for a04354e
bin/cmd.js
@@ -27,19 +27,18 @@ program
27
.action(function(cmd, options) {
28
console.log("netlify-lambda: Starting server");
29
var static = Boolean(program.static);
30
- var server = serve.listen(program.port || 9000, static, Number(program.timeout) || 10);
31
if (static) return; // early terminate, don't build
32
build.watch(cmd, program.config, function(err, stats) {
33
if (err) {
34
console.error(err);
35
return;
36
}
37
-
+
+ console.log(stats.toString({ color: true }));
38
+ var server = serve.listen(program.port || 9000, static, Number(program.timeout) || 10);
39
stats.compilation.chunks.forEach(function(chunk) {
40
server.clearCache(chunk.name);
41
});
42
- console.log(stats.toString({ color: true }));
43
44
45
0 commit comments