Skip to content

Conversation

@walkeknow
Copy link

The script "dev:mock": "cross-env PET_MOCK=mock npm run dev", sometimes does not make the app run in mock mode. This is because Parcel builds the app from existing .cache and .dist directories. Removing these folders and running npm run dev:mock fixes the problem.

Brian gives the same fix in his video lessons

The script `"dev:mock": "cross-env PET_MOCK=mock npm run dev"`, sometimes does not make the app run in mock mode. This is because Parcel builds the app from existing .cache and .dist directories. Removing these folders and running `npm run dev:mock` fixes the problem.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant