This won't be an exhaustive list, but here are some things that the meteor
command does:
- creates a local database
- watches on every dependent file in your app or in your packages
- sends every file separately and unminified to the client (this is super inefficient unless you are developing locally)
In contrast, bundling an app:
- does not create a local database
- does not spend CPU watching your files for changes
- creates two minified files (js and css) which is perfect for putting on a CDN or hosting from a reverse proxy. These are also efficient for clients to download and are highly cacheable.
In general, deploying shouldn't be a huge pain if you use a good set of scripts.
与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…