Commit d8390249 authored by zeke's avatar zeke

rebuild, then install. fixes #47

parent d72d36f9
...@@ -78,12 +78,12 @@ else ...@@ -78,12 +78,12 @@ else
download_and_install_node $node_version download_and_install_node $node_version
fi fi
status "Installing dependencies"
npm install --production | indent
status "Rebuilding dependencies" status "Rebuilding dependencies"
npm rebuild | indent npm rebuild | indent
status "Installing dependencies"
npm install --production | indent
status "Caching node and node_modules for future builds" status "Caching node and node_modules for future builds"
rm -rf $cache_dir rm -rf $cache_dir
mkdir -p $cache_dir mkdir -p $cache_dir
......
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