We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 776a906 commit 345d0a5Copy full SHA for 345d0a5
ServerlessRunWatch.js
@@ -77,7 +77,7 @@ class ServerlessRunWatch {
77
if (this.cliOptions["watch-glob"]) {
78
this.watchPaths.push(...this.cliOptions["watch-glob"].split(","));
79
} else {
80
- this.watchPaths.push(`${this.serviceDir}/**/*.(js|py|ts|go|java|rb)`);
+ this.watchPaths.push(`${this.serviceDir}/**/*.(js|mjs||py|ts|go|java|rb)`);
81
}
82
if (this.cliOptions.config) {
83
this.watchPaths.push(this.cliOptions.config);
0 commit comments