diff --git a/docs/compilation.md b/docs/compiler.md similarity index 99% rename from docs/compilation.md rename to docs/compiler.md index 49e2c3270..3f93d40d2 100644 --- a/docs/compilation.md +++ b/docs/compiler.md @@ -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). diff --git a/docs/get-started.md b/docs/get-started.md index 589e95fd9..9f2fa330c 100644 --- a/docs/get-started.md +++ b/docs/get-started.md @@ -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. \ No newline at end of file +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) \ No newline at end of file diff --git a/docs/hot-reloading.md b/docs/hot-reloading.md deleted file mode 100644 index d14a45aa9..000000000 --- a/docs/hot-reloading.md +++ /dev/null @@ -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) \ No newline at end of file