Browserify Development Environment.
In a directory that you are building a browserify module in, simply run
bde. This will start bde on port
8080 and watch for any files ending
If you want to start it on a particular port, then specify the port as the
first command-line argument (e.g.
bde 8090) or using the -p flag
bde -p 8090).
If you would like to watch for a different suffix, use the -s flag
bde -s foo.js).
bde will serve pretty much any file, courtesy of ecstatic. When particular files are requested, however, they will be routed through browserify:
- *-bundle.js (look for the filename prefixed by
-bundle.jsand run through browserify)
If you wish to run a bde server using HTTPS then you simply need to push
server.ca (if required) files into
the working directory from which you start your application. If detected
bde will start the server on using HTTPS instead of HTTP.
Copyright (c) 2013 Damon Oehlman firstname.lastname@example.org
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.