Hey @madikarizma,
I believe functions should be accessible via --live. Would you be willing to share your netlify.toml and repo so we could take a look?
In the meantime, here’s an open issue about a bug with --live + functions:
But it does seem like if you’re not trying to persist sessions, your function should work. Here’s that person’s repo if you want to check your structure against that:
https://github.com/1papaya/netlify-dev-lambda-issue