Skip to content

Commit

Permalink
Merge pull request #1039 from alphagov/node-gulp
Browse files Browse the repository at this point in the history
Run Gulp using the Node executable to fix permissions problem
  • Loading branch information
joelanman authored Jul 12, 2021
2 parents 14d2249 + 2a3ddf6 commit 4d7a506
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 4d7a506

Please sign in to comment.