From 93fd2096b9b8c8e23e0174681690a77ea6531c26 Mon Sep 17 00:00:00 2001 From: Oliver Davies Date: Fri, 4 Oct 2019 08:35:43 +0100 Subject: [PATCH] Update watch script to prevent timeouts --- composer.json | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/composer.json b/composer.json index 3ecf199..96a28c6 100644 --- a/composer.json +++ b/composer.json @@ -16,7 +16,10 @@ "dev": "composer run-script generate", "generate": "sculpin generate --clean --no-interaction", "prod": "composer run-script generate -- --env prod", - "watch": "composer run-script --timeout=0 generate -- --server --watch" + "watch": [ + "Composer\\Config::disableProcessTimeout", + "composer run-script generate -- --watch --server" + ], }, "extra": { "branch-alias": {