Commit a3bcf4b 1 parent 513222c commit a3bcf4b Copy full SHA for a3bcf4b
File tree 1 file changed +3
-9
lines changed
1 file changed +3
-9
lines changed Original file line number Diff line number Diff line change @@ -181,17 +181,11 @@ class ServerlessReact {
181
181
"before:offline:start" : async ( ) => {
182
182
this . log . verbose ( "before:offline:start" ) ;
183
183
const { compiler } = await this . build ( ) ;
184
- const destination =
185
- this . serverless . service . custom ?. [ "serverless-offline" ] ?. location ;
186
- console . log ( "!!! bos destination" , destination ) ;
184
+ await this . copy (
185
+ this . serverless . service . custom ?. [ "serverless-offline" ] ?. location
186
+ ) ;
187
187
await this . watch ( compiler ) ;
188
188
} ,
189
- "after:offline:start" : async ( ) => {
190
- this . log . verbose ( "after:offline:start" ) ;
191
- const destination =
192
- this . serverless . service . custom ?. [ "serverless-offline" ] ?. location ;
193
- await this . copy ( destination ) ;
194
- } ,
195
189
"before:package:createDeploymentArtifacts" : async ( ) => {
196
190
this . log . verbose ( "before:package:createDeploymentArtifacts" ) ;
197
191
} ,
You can’t perform that action at this time.
0 commit comments