edition-php-twig-standard
edition-php-twig-standard copied to clipboard
30 minutes timeout on core/console
Have you considered adding a flag to disable the 30 minute timeout on core/console commands? I find it a bit annoying having to start the server every time I come back to patternlab and would love to have a flag to allow it to run infinitely.
I discovered that you can override the timeout by making the changes below: /vendor/pattern-lab/core/src/PatternLab/Console/Commands/ServerCommand.php
Lines 61 and 66, change "idle" => 1800 to "idle" => 0
I added a flag to my setup and created the attached patch so I can keep the implementation after updates.
now all I do is add idle: 0 to my config.yml file and I am all set.
Would it be possible for the patch from @jasonrsavino to be merged to the core? @jasonrsavino could you maybe issue a pull request. I would highly appreciate that!