xy2z / capro

PHP8 static site generator
MIT License
8 stars 2 forks source link

Serve command - terminal issues when using global capro #20

Open xy2z opened 1 year ago

xy2z commented 1 year ago

When using composer's global "capro serve" command (instead of vendor/bin/capros serve") the terminal is bugging out after the serve is done... It's super weird but probably something to do with the "passthru()" command the global package uses to send it down to the projects capro package...

xy2z commented 7 months ago

Start by disabling "serve" when using passthru, as it bugs out the terminal. Write out that user must use "/vendor/bin/capro serve" instead - and then it can be fixed later.