Skip to content

[RFC]: build vs watch #59

@alexmerlin

Description

@alexmerlin

RFC

The current build and preview commands are ambiguous.

Currently, we have:

  • preview command executes php -S 0.0.0.0:8080 -t public - looks like a workaround for starting the server via npm instead of PHP
  • build command executes vite build --watch - builds the assets and rebuilds them on CSS/JS changes

We should have:

  • watch command executes vite build --watch - builds the assets and rebuild them on CSS/JS changes
  • build command executes vite build - builds the assets and exits

Metadata

Metadata

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions