View Source mix nodelix (nodelix v1.0.0-alpha.5)

Invokes node with the given args.

Warning

This is a pre-release version. As such, anything may change at any time, the public API should not be considered stable, and using a pinned version is recommended.

Usage:

$ mix nodelix TASK_OPTIONS PROFILE NODE_ARGS

Example:

$ mix nodelix default some-script.js --some-option

If Node.js is not installed, it is automatically downloaded. The arguments given to this task will be appended to any configured arguments.

Options

  • --runtime-config - load the runtime configuration before executing command

Flags to control this Mix task must be given before the profile:

$ mix nodelix --runtime-config default some-script.js --some-option