Skip to content
This repository was archived by the owner on Sep 14, 2018. It is now read-only.

Make dev mode default#70

Open
FossPrime wants to merge 1 commit intosilexphp:masterfrom
FossPrime:patch-1
Open

Make dev mode default#70
FossPrime wants to merge 1 commit intosilexphp:masterfrom
FossPrime:patch-1

Conversation

@FossPrime
Copy link
Copy Markdown

Whats the point of including the dev toolbar if it doesn't run without some contrived command... make it default!

I even manually installed it, read the instructions and patched my controller with web profile code... that worked, but then I realized its also in the dev.php... a file that's not read by the default "composer run" command... perhaps maybe there should be a composer run-prod command as well. btw, running a docker image in a composer script works amazingly well... much better than trying to do the same in a node script.

Whats the point of including the dev toolbar if it doesn't run without some contrived command... make it default!
Comment thread composer.json
"run": [
"echo 'Started web server on http://localhost:8888'",
"php -S localhost:8888 -t web"
"php -S localhost:8888 -t web/index_dev.php"
Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Hi @rayfoss,
-t option is for serving document root directory, not php file.

Kindly regards

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants