Commit f4a75709 by Andrew Nesbitt

Merge pull request #124 from fourseven/master

Add in comments for the rebuild.js file, and include support to auto-rebuild on linux as well.
parents 29fecf13 f52d9ccc
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']);
}
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