LinuxCommandLibrary

gulp

JavaScript task runner for automating development workflows

TLDR

Run default task

$ gulp
copy
Run specific task
$ gulp [taskname]
copy
List available tasks
$ gulp --tasks
copy
Run with custom gulpfile
$ gulp --gulpfile [path/gulpfile.js]
copy
Run in silent mode
$ gulp --silent
copy
Watch for changes
$ gulp watch
copy

SYNOPSIS

gulp [options] [tasks...]

DESCRIPTION

gulp is a JavaScript task runner for automating development workflows. It streams files through processing pipelines, handling tasks like compilation, minification, and testing.
The tool uses code-over-configuration with a gulpfile.js defining tasks as JavaScript functions. Its streaming architecture makes it efficient for file processing.

PARAMETERS

--tasks, -T

List available tasks.
--gulpfile path
Specify gulpfile location.
--cwd dir
Set working directory.
--silent, -S
Suppress output.
--continue
Continue on errors.
--log-level level
Logging level.
--series
Run tasks in series.
--parallel
Run tasks in parallel.

CAVEATS

Requires Node.js and npm. Plugin ecosystem fragmented. Gulp 4 API differs from 3. Some plugins unmaintained.

HISTORY

gulp was created by Eric Schoffstall and released in 2013 as an alternative to Grunt. Its streaming approach and code-based configuration appealed to developers. While newer bundlers have emerged, gulp remains popular for task automation.

SEE ALSO

npm(1), webpack(1), grunt(1), make(1)

> TERMINAL_GEAR

Curated for the Linux community

Copied to clipboard

> TERMINAL_GEAR

Curated for the Linux community