diff --git a/docs/installation.md b/docs/installation.md index 2d20dd11..6993c5d5 100644 --- a/docs/installation.md +++ b/docs/installation.md @@ -38,10 +38,6 @@ npm run build open index.html ``` -The source file `index.js` will be compiled (bundled) and a browser window opens showing the result. -Any changes in the source files will instantly get recompiled and the -browser will refresh reflecting the changes. - #### Step by step For production-level projects, the recommended way of installing Mithril is to use NPM. @@ -166,6 +162,8 @@ npm install budo -g npm start ``` +The source file `index.js` will be compiled (bundled) and a browser window opens showing the result. Any changes in the source files will instantly get recompiled and the browser will refresh reflecting the changes. + #### Mithril bundler Mithril comes with a bundler tool of its own. It is sufficient for projects that have no other dependencies other than Mithril, but it's currently considered experimental for projects that require other NPM dependencies. It produces smaller bundles than webpack, but you should not use it in production yet.