]> git.immae.eu Git - github/fretlink/purs-loader.git/commitdiff
Use cross-spawn for windows support
authoreric thul <thul.eric@gmail.com>
Tue, 24 May 2016 11:46:39 +0000 (07:46 -0400)
committereric thul <thul.eric@gmail.com>
Tue, 24 May 2016 11:47:27 +0000 (07:47 -0400)
Resolves #50

package.json
src/index.js

index 3bdd5ec95550723aac3076350e24baa8bea3c7bc..4924fc3379e679b02b67717fdbaf6bfaed242d9a 100644 (file)
@@ -41,6 +41,7 @@
   "dependencies": {
     "bluebird": "^3.3.5",
     "chalk": "^1.1.3",
+    "cross-spawn": "^3.0.1",
     "debug": "^2.2.0",
     "globby": "^4.0.0",
     "loader-utils": "^0.2.14",
index bd2a35d05435268319001d8795c926acba4d697c..6bf1e09e169c4678dae210285c12ed764e5dde7d 100644 (file)
@@ -6,7 +6,7 @@ const loaderUtils = require('loader-utils')
 const globby = require('globby')
 const Promise = require('bluebird')
 const fs = Promise.promisifyAll(require('fs'))
-const spawn = require('child_process').spawn
+const spawn = require('cross-spawn')
 const path = require('path')
 const retryPromise = require('promise-retry')