Skip to content

Commit

Permalink
run gulp using the node executable
Browse files Browse the repository at this point in the history
some machines do not have permission to run gulp directly
  • Loading branch information
joelanman committed Jul 7, 2021
1 parent 14d2249 commit 2a3ddf6
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,9 @@
# Unreleased

## Fixes

- [Pull request #1039: Run Gulp using the Node executable to fix permissions problem](https://github.com/alphagov/govuk-prototype-kit/pull/1039)

# 9.14.0 (Feature release)

## New features
Expand Down
2 changes: 1 addition & 1 deletion start.js
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,7 @@ function runGulp () {
const spawn = require('cross-spawn')

process.env.FORCE_COLOR = 1
var gulp = spawn('./node_modules/.bin/gulp', ['--log-level', '-L'])
var gulp = spawn('node', ['./node_modules/gulp/bin/gulp.js', '--log-level', '-L'])
gulp.stdout.pipe(process.stdout)
gulp.stderr.pipe(process.stderr)
process.stdin.pipe(gulp.stdin)
Expand Down

0 comments on commit 2a3ddf6

Please sign in to comment.