Open jkruse14 opened 4 years ago
@ajmath - what are your thoughts on this update?
@jkruse14 First and foremost, thanks for the PR and apologies for not getting back to you sooner.
So the behavior you're adding is actually the way this plugin worked before #22 which allows it to function with non javascript languages. I would suggest that we only try invoking the function directly when the plugin is running in a node serverless project and fallback to shelling out to support non javascript projects.
I got rid of child_process and call the function directly because this allows you to set breakpoints and debug the scheduled task lambda.