build.js
3.27 KB
-
Fix npm rebuild · f0419a7a
Running `npm rebuild node-sass` as we instruct people, has been noop for a while. I'm not entirely sure what has changed. Debugging as reveal that running `rebuild` now just triggers the `install` and `postinstall` scripts. The `build` script is no longer run. This suggests something has changed in newer versions of npm. Since the `--force` flag is required to rebuild the binary I've update the `build` script to take into account if `--force` was passed to npm.
xzyfer authored
×