We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents c99fe30 + ea9d96c commit 424fe49Copy full SHA for 424fe49
src/index.ts
@@ -131,7 +131,7 @@ export class TypeScriptPlugin {
131
this.serverless.cli.log(`Watching typescript files...`)
132
133
this.isWatching = true
134
- watchFiles(this.rootFileNames, this.originalServicePath, this.compileTs)
+ watchFiles(this.rootFileNames, this.originalServicePath, this.compileTs.bind(this))
135
}
136
137
async compileTs(): Promise<string[]> {
0 commit comments