mirror of
https://github.com/meteor/meteor.git
synced 2026-05-02 03:01:46 -04:00
Implements https://github.com/meteor/meteor/issues/6537#issuecomment-205954797 The setup.sh script was only sometimes written previously, so no existing deployment logic should rely on it existing. On the other hand, all apps built by `meteor build` require running `npm install` in the programs/server/ directory, so the install hook I added to programs/server/package.json will ensure npm-rebuild.js is invoked reliably. Using a pure Node script means this code will work just as well on Windows as on Linux or Darwin, though Linux is by far the most common deployment platform for Meteor apps. TODO Remember to rebuild the dev bundle before the next release!