Proxy dev server
The proxydevserver is highly inspired by KnisterPeters smaller-dev-server. It aims to proxy all requests, intersecting some to serve a fresh set of assets like images, JavaScript or Stylesheets.
Currently it supports the following middelwares:
config.yml
devserver:
host: 'localhost'
port: 3000
livereload: true
staticDir: './static/'
proxy:
host: 'localhost'
port: 8181
middlewares:
less:
src: '/app.css'
dest: '/entry.css'
options:
src: './sourcestyles/'
dest: './static'
compress: false
sourceMap: false
paths:
- './sourceincludes/'
browserify:
src: '/app.js'
dest: './static/entry.js'
options:
sourceMap: true
transforms:
- coffeeify
aliases:
- "js/ext/jquery.js#jquery"
paths:
- './sourceincludes/'