Commit f52d9ccc by Mathew Hartley

Adding documentation to the rebuild script

Since this was reverted (and I/we now know why) I have added
documentation as to avoid the issue re-occuring in the future.
parent 29fecf13
var spawn = require('child_process').spawn; var spawn = require('child_process').spawn;
if (process.platform === 'darwin') { // Only rebuild the binaries if on Mac OS or Linux, as we're assuming that
// the toolchain exists. This is here to not rebuild on windows, as that
// had issues as of https://github.com/andrew/node-sass/issues/123
if (process.platform === 'darwin' || process.platform === 'linux') {
spawn('node-gyp', ['rebuild']); spawn('node-gyp', ['rebuild']);
} }
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment