-
Notifications
You must be signed in to change notification settings - Fork 55
Open
Labels
enhancementNew feature or requestNew feature or request
Description
Is your feature request related to a problem? Please describe.
Provide a way to serve production build using tuono CLI.
Note
In the future it might be used also to serve the dev build
See Allow dev build without server output.
Describe the solution you'd like
Proposed Steps:
- On running
tuono start, verify if theoutfolder exists. - If the
outfolder is missing, display an error message like: "Production build not found. Please run tuono build first." - If the folder exists, verify that all necessary files for the production build are present.
- If everything is in order, run
cargo run --releaseto start the server with optimized sources.
Describe alternatives you've considered
N/A
Additional context
Metadata
Metadata
Assignees
Labels
enhancementNew feature or requestNew feature or request
Type
Projects
Status
Ready