How do detect and deploy only lambda functions with changes


I have a monorepo with multiple AWS lambda functions and a layer. I want to deploy only the functions with changes and not have to deploy all the functions every time.

Second scenario is when new function is added to the monorepo. I want only that new function to get deployed and not deploy all the other existing functions.

We are currently using sam cli and both the above are possible using that. However we want to see if it is possible with serverless. Would help any pointers regarding this.