one-time content scan. Addresses Issue #223. This addresses two cases: files that change during a slow bundle (eg, during slow NPM updates) and *do* end up with a different mtime (which could also be addressed in other ways, see eg the issue-223-dead-end branch)... and those that change twice within the same second on OSX HFS+ which only has 1-second mtime resolution, which really cannot be addressed in any purely mtime-based way. This still is not 100% perfect. Most notably, any files read via register_extension (which is to say, basically all source files other than package.js and static resources) still have a race between hash calculation and the actual read done by the bundler, since the register_extension API takes a source_path rather than contents. This could be addressed by making register_extension handlers take the contents as an argument too (and encourage the use of source_file only for things like printing errors with filenames, not actually for reading the file). In addition, this won't detect files added after the bundler passes them but before the initial DependencyWatcher run.
Meteor
Meteor is an ultra-simple environment for building modern web applications.
With Meteor you write apps:
- in pure Javascript
- that send data over the wire, rather than HTML
- using your choice of popular open-source libraries
Documentation is available at http://docs.meteor.com/
Quick Start
Install Meteor:
curl https://install.meteor.com | /bin/sh
Create a project:
meteor create try-meteor
Run it:
cd try-meteor
meteor
Deploy it to the world, for free:
meteor deploy try-meteor.meteor.com
Slow Start (for developers)
If you want to run on the bleeding edge, or help develop Meteor, you can run Meteor directly from a git checkout.
git clone git://github.com/meteor/meteor.git
cd meteor
If you're the sort of person who likes to build everything from scratch, you can build all the Meteor dependencies (node.js, npm, mongodb, etc) with the provided script. If you do not run this script, Meteor will automatically download pre-compiled binaries when you first run it.
# OPTIONAL
./scripts/generate-dev-bundle.sh
Now you can run meteor directly from the checkout (if you did not build the dependency bundle above, this will take a few moments to download a pre-build version).
./meteor --help
After installing, you can read the docs locally. The /docs directory is a
meteor application, so simply change into the /docs directory and launch
the app:
cd docs/
meteor
You'll then be able to read the docs locally in your browser at http://localhost:3000/
Note that if you run Meteor from a git checkout, you cannot pin apps to specific
Meteor releases or run using different Meteor releases using --release.
Developer Resources
Building an application with Meteor?
- Announcement list: sign up at http://www.meteor.com/
- Ask a question: http://stackoverflow.com/questions/tagged/meteor
- Meteor help and discussion mailing list: https://groups.google.com/group/meteor-talk
- IRC:
#meteoronirc.freenode.net
Interested in contributing to Meteor?
- Core framework design mailing list: https://groups.google.com/group/meteor-core
- Contribution guidelines: https://github.com/meteor/meteor/wiki