However, in the CLI tools (using the hs watch command), it throws an error if I attempt to create a folder with this extension. The error in the CLI is:
[ERROR] Folder name cannot end with .functions
Can anyone explain how I am supposed to start a serverless function, given this error?
I would like to share some suggested troubleshooting steps:
1. Remove .functions from the folder name or
2. Renaming the folder to remove .functions
Do you still receive an error after doing so?
In case you receive an error during testing, I wanted to note that the Serverless functions for the CLI is only available in CMS Hub Enterprise.
The CMS Developer Sandbox Accounts do have access to serverless functions, so this can be a great workaround if you would like to try out the serverless functions.