-
Notifications
You must be signed in to change notification settings - Fork 759
feat(preview-server): Improved development workflow #2249
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: feat/separate-preview-server-from-cli
Are you sure you want to change the base?
feat(preview-server): Improved development workflow #2249
Conversation
The latest updates on your projects. Learn more about Vercel for Git ↗︎
|
|
f6907b1
to
d0c21e5
Compare
commit: |
Co-authored-by: gabriel miranda <[email protected]>
2b98429
to
c8efb5e
Compare
This implements two scripts for doing dev work on the preview server that is completely separate from the CLI. The first script creates an
emails
directory that is not committed with a simple repeated file structure. The idea is to be able to only work in the preview server with the most simple way.The
seed
command doesn't currently generate anything at random right now because I don't know exactly how we would generate emails in a meaningful way here.The other script actually runs
next dev
and creates an.env.local
with values imitating what the CLI would give the preview server for things to work properly. This needs to be a script because we need to delte the file afternext dev
closes. If we don't, the file can interfere with subsequent builds of the preview server.