Skip to content
This repository was archived by the owner on Jul 24, 2024. It is now read-only.

Conversation

@xzyfer
Copy link
Contributor

@xzyfer xzyfer commented Feb 6, 2017

Running npm rebuild node-sass as we instruct people, has been
noop for a while. I'm not entirely sure what has changed.

Debugging has revealed 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.

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 xzyfer self-assigned this Feb 6, 2017
@xzyfer xzyfer merged commit 9905a59 into sass:master Feb 22, 2017
@xzyfer xzyfer deleted the fix-rebuild branch February 22, 2017 10:48
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant