Visual Studio Code and Azure Functions keeps running old code locally (MacOS, Node.js)
In the array “users” there are almost thousand entities. I run code locally (Run and debug) and canceled it at some point. If I try to run again even commented code:
var tasks = [];
for (const userEmail of users) {
var task = context.df.callSubOrchestrator('MainMailingSendToUserOrchestrator', { userEmail });
tasks.push(task);
}
yield context.df.Task.all(tasks);
then the suborchestrators keeps going, no matter what code I have inside the function.
How to clean cache or fix that?
launch.json:
{
"name": "Mailing",
"type": "node",
"request": "attach",
"port": 9230,
"preLaunchTask": "func: host start"
}
Read more here: Source link
