You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copied the example hello.js into the functions folder
Made a scripts command in package.json called start : "start": "netlify-lambda serve functions"
netlify.toml has functions = "functions" under the build
When running the yarn start command, the build picks up the source and start overwriting with the bundle. It watches and builds again, causing an infinite loop.
Expected behavior
Would be great to get a message "source and publish folder should be in different locations"
The text was updated successfully, but these errors were encountered:
Before I start, promise not to laugh (too hard).
Issue
functions
folderscripts
command in package.json calledstart
:"start": "netlify-lambda serve functions"
netlify.toml
hasfunctions = "functions"
under the buildWhen running the
yarn start
command, the build picks up the source and start overwriting with the bundle. It watches and builds again, causing an infinite loop.Expected behavior
Would be great to get a message "source and publish folder should be in different locations"
The text was updated successfully, but these errors were encountered: