 livereloadPort = 35729
 httpServerPort = 9000
 
-fs    = require 'fs'
-path  = require 'path'
+fs         = require 'fs'
+path       = require 'path'
+loremIpsum = require 'lorem-ipsum'
+
+lorem = (count, options={}) ->
+  if typeof count == 'number'
+    options.count = count
+  else
+    options = count ? {}
+  options.units ?= 'words'
+  loremIpsum options
 
 module.exports = (grunt) ->
   require('load-grunt-tasks')(grunt)

        options:
          pretty: true
          data:
            lorem: require('lorem-ipsum')
    <% } else if(options.html === 'ejs') { %>
    ejs:
      dev:

          ext: '.html'
        ]
        options:
          lorem: lorem
    <% } %>
    connect:
      server:
