Skip to content

Latest commit

 

History

History
72 lines (49 loc) · 2.05 KB

README.md

File metadata and controls

72 lines (49 loc) · 2.05 KB

NPM version

Information

Packagelute
Static dev server
Node Version >= 0.10

Usage

$ npm install -g lute

Running 'lute' in a directory will serve that dir and set up LiveReload - no need to have the plugin as it will inject the livereload script into your index

$ lute

Serves current directory on default port (8080). Will find an open port if it's not available

$ lute open

Serves current dir and opens in your browser

Options

$ lute -p 3000

This serves current directory on port 3000 - will find an open port if 3000 is not available

$ lute -i bower_components

This will ignore bower_components when watching for changes, relative to the path lute is launched from - use a comma-delimited list to pass multiple paths

TODO

  • watch and compile stuff
  • gh-pages integration

LICENSE

(MIT License)

Copyright (c) 2013 Fractal [email protected]

Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.