External pipeline fails when Middleman restarrs the task

In my development.rb config file I have the following:

activate :external_pipeline,
  name: :gulp,
  command: "npm run gulp",
  source: "./.tmp"
  latency: 1

Which triggers gulp when initially running middleman serve. When editing a helper or config file, the process is terminated and looks like it tries to call the external pipeline task but fails.

npm ERR! Darwin 15.6.0
npm ERR! argv "/Users/craigmdennis/.nvm/versions/node/v5.6.0/bin/node" "/Users/craigmdennis/.nvm/versions/node/v5.6.0/bin/npm" "run" "gulp"
npm ERR! node v5.6.0
npm ERR! npm  v3.10.5
npm ERR! code ELIFECYCLE
npm ERR! middleman-gulp-starter@1.4.1 gulp: `gulp`
npm ERR! Exit status 1

I am using version 4.1.1

Hard to say with limited info.

Can you clone and run my sample external gulp pipeline project successfully? https://github.com/NathanBowers/mm-template

I’ve got it set up to auto restart everything on config change.