Updated docs

This commit is contained in:
Patrick Steele-Idem 2015-09-18 17:15:44 -06:00
parent 4d1f92251d
commit 397e4384d5
3 changed files with 6 additions and 6 deletions

View File

@ -1,4 +1,4 @@
Template Compilation
Marko Compiler
====================
The Marko compiler produces a Node.js-compatible, CommonJS module as output. This output format has the advantage that compiled template modules can benefit from a context-aware module loader and templates can easily be transported to work in the browser using [Lasso.js](https://github.com/lasso-js/lasso) or [Browserify](https://github.com/substack/node-browserify).

View File

@ -142,4 +142,8 @@ Despite rendering the first chunk asynchronously, the above program will stream
BEGIN Hello World! END
```
For more details, please see the documentation for the [async-writer](https://github.com/marko-js/async-writer) module.
For more details, please see the documentation for the [async-writer](https://github.com/marko-js/async-writer) module.
# Hot Reloading Templates
During development it is very beneficial to not have to restart the server in order for changes to already loaded templates to be reflected. Marko supports hot reloading of templates on the server, but this feature must be explicitly enabled. Enabling hot reloading is documented as part of the following sample app: [marko-js-samples/marko-hot-reload](https://github.com/marko-js-samples/marko-hot-reload)

View File

@ -1,4 +0,0 @@
Hot Reloading Templates
=======================
During development it is very beneficial to not have to restart the server in order for changes to already loaded templates to be reflected. Marko supports hot reloading of templates on the server, but this feature must be explicitly enabled. Enabling hot reloading is documented as part of the following sample app: [marko-js-samples/marko-hot-reload](https://github.com/marko-js-samples/marko-hot-reload)