-
Notifications
You must be signed in to change notification settings - Fork 5
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add configuration file support #65
Comments
What would the config file do? |
@matthewp it would handle all manual passed cli options
it could be called .donejs |
That should be the same as doing: const serve = require("done-serve");
serve({
port: 8081,
key: ...
}); Maybe we should just document that it can be used like this? |
@matthewp i am for a configuration option that get saved with the project so we can avoid the npm scripts for that so that running done-serve in a project directory simply works with what ever NODE_ENV is set we also should enable a new random port option to run more then one done-serve instance at the same time i am at present preparing "steal-livereload" middleware but it takes a bit longer because i striped out all relevant parts of steal-tools to don't have it as dependency and clean rewrite the stream stuff. |
i want to create a PR for a configuration file please lets discuss what you would prefer for name and that i will simply add all cli options to it this way done-serve gets a middelware like discussed in other issues.
The text was updated successfully, but these errors were encountered: