Skip to content
This repository has been archived by the owner on Sep 8, 2021. It is now read-only.

fix: prevent netlify dev from attempting to recursively call itself #36

Draft
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

ctjlewis
Copy link

The CLI detects different framework commands in package.json, and will throw if it detects netlify dev in the default script while running netlify dev in order to avoid recursively calling itself.

By removing the netlify dev from the start and dev scripts and adjusting the CLI logic to recognize netlify dev:exec as distinct from netlify:dev, we can get this project working as expected.

Also updates package.json dependencies.

see also:
#26
netlify/cli#1798

The CLI detects different framework commands in package.json, and will throw
if it detects `netlify dev` in the default script while running `netlify dev`
in order to avoid recursively calling itself.

By removing the `netlify dev` from the `start` and `dev` scripts and adjusting
the CLI logic to recognize `netlify dev:exec` as distinct from `netlify:dev`,
we can get this project working as expected.

Also updates package.json dependencies.

see also:
netlify#26
netlify/cli#1798
@netlify
Copy link

netlify bot commented Jan 24, 2021

Deploy request for faunadb-example pending review.

Review with commit ef53022

https://app.netlify.com/sites/faunadb-example/deploys

@ctjlewis
Copy link
Author

I am actually following up on testing for this (it doesn't seem to be working perfectly yet), but the draft is here if anyone wants to take a look at the issue!

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant