From 2f52e330711e5aa7ce6ada159ff38cf6dfa42a9e Mon Sep 17 00:00:00 2001 From: Bronson Quick Date: Fri, 9 Aug 2019 16:38:14 +1000 Subject: [PATCH] Switch to npm scripts --- modules/core_dev/manifests/build.pp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/modules/core_dev/manifests/build.pp b/modules/core_dev/manifests/build.pp index 0d409e2..e52c7be 100644 --- a/modules/core_dev/manifests/build.pp +++ b/modules/core_dev/manifests/build.pp @@ -19,7 +19,7 @@ # Run grunt to build the project. exec { 'grunt build --dev': - command => '/usr/bin/grunt build --dev', + command => '/usr/bin/npm run build:dev', cwd => '/vagrant/wordpress-develop', user => 'vagrant', require => [ @@ -30,7 +30,7 @@ } exec { 'grunt build': - command => '/usr/bin/grunt build', + command => '/usr/bin/npm run build', cwd => '/vagrant/wordpress-develop', user => 'vagrant', require => [