From 982ece57d94ee7b55ddedd46389f5c23a071057c Mon Sep 17 00:00:00 2001 From: Daniel Robinson Date: Tue, 9 Jun 2015 11:28:47 -0400 Subject: [PATCH] Update README.md: Add simplest Gruntfile example to getting started section. --- README.md | 11 +++++++++-- 1 file changed, 9 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index c24e4cf..b9131ae 100644 --- a/README.md +++ b/README.md @@ -19,8 +19,15 @@ Once the plugin has been installed, it may be enabled inside your Gruntfile with grunt.loadNpmTasks('grunt-contrib-connect'); ``` - - +The most basic Gruntfile configuration names a server without specifying options: +```js +grunt.initConfig({ + connect: { + server_using_defaults: {} + } +}); +``` +The task `grunt connect` will start on port `8000` by default. ## Connect task _Run this task with the `grunt connect` command._