Grunt Contrib Connect

screenshot of Grunt Contrib Connect

Start a static web server.

Overview:

grunt-contrib-connect v5.0.0 is a Grunt plugin that allows you to start a connect web server. It provides options to specify the port, protocol, hostname, base directory, and keep the server alive. This tool is ideal for running local servers during development and testing processes.

Features:

  • Port: Specify the port on which the web server will respond.
  • Protocol: Choose between 'http', 'http2', or 'https'.
  • Hostname: Define the hostname for accessing the web server.
  • Base Directory: Set the root directory from which files will be served.
  • Directory Browse-able: Select the directory you wish to be browse-able.
  • Keepalive: Option to keep the server alive indefinitely.
grunt
Grunt

Grunt is a popular JavaScript task runner that automates repetitive tasks like minification, compilation, and testing, allowing developers to focus on writing code.