text: // Serve Assets in Development
  // ---------------------------
  // Serves all code and other assets when you DON'T call ss.client.packAssets()
  'use strict';
  
  
  var qs, system, url, utils;
  
  url = require('url');
  
  qs = require('querystring');
  
  system = require('../system');
  
  utils = require('./utils');
  
  module.exports = function(ss, router, options) {
    var asset;
    asset = require('../asset')(ss, options);
  
    // JAVASCRIPT  
  
    // Serve system libraries and modules
    router.on('/_serveDev/system?*', function(request, response) {
      return utils.serve.js(system.serve.js(), response);
    });
  
    // Listen for requests for application client code  
    router.on('/_serveDev/code?*', function(request, response) {
      var params, path, thisUrl;
      thisUrl = url.parse(request.url);
      params = qs.parse(thisUrl.query);
      path = utils.parseUrl(request.url);
      return asset.js(path, {
        pathPrefix: params.pathPrefix
      }, function(output) {
        return utils.serve.js(output, response);
      });
    });
    router.on('/_serveDev/start?*', function(request, response) {
      return utils.serve.js(system.serve.initCode(), response);
    });
  
    // CSS
  
    // Listen for requests for CSS files  
    return router.on('/_serveDev/css?*', function(request, response) {
      var path;
      path = utils.parseUrl(request.url);
      return asset.css(path, {}, function(output) {
        return utils.serve.css(output, response);
      });
    });
  };
  