@SamO
I already did a lot of re-search on same using Netlify doc.
In dev it is working.
In Production It is not working.
I am able to see function but in Log slash / is keep rotating.
Please relate my question to netlify doc.
import { BackgroundHandler, HandlerEvent, HandlerContext } from '@netlify/functions';
console.log('In Deploy Building - file'); // not able to call
export const handler: BackgroundHandler = async (event: HandlerEvent, context: HandlerContext) => {
console.log('Deploy Building - handler'); // not able to call this log as well
if(process.env.NODE_ENV === 'prod'){
console.log('Deploy Building - production');
// not able to call this function
sendNotif();
}
};