Server-side Tracker.autorun
Switch branches/tags
Nothing to show
Clone or download
Pull request Compare This branch is 88 commits ahead of Diggsey:master.
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
meteor @ 2d14db1
.gitignore
.gitmodules
.meteorignore
.travis.yml
.versions
LICENSE
README.md
client.coffee
package.js
server.coffee Removing Tracker._computations. Jan 15, 2018
tests.coffee

README.md

server-autorun

Meteor smart package which provides a fully reactive server-side Tracker.autorun. While Meteor does provide Tracker.autorun on the server, it is not officially supported on the server and it has many limitations. For example, it cannot be used with fibers-enabled synchronous (blocking) code. This implementation cooperates nicely with fibers and preserves Meteor environment variables where necessary, allowing you to run any reactive code. Now you can really share the same code between client and server.

Adding this package to your Meteor application will override Tracker.autorun on the server with this implementation.

Server side only.

See also related packages:

Installation

meteor add peerlibrary:server-autorun

Acknowledgments

This package is based on the great work by Diggory Blake who made the first implementation.