for
forewoman
npm i forewoman
for

forewoman

node.js port of foreman + hot code reload

by Wong Liang Zan

0.3.0 (see all)TypeScript:Not Found
npm i forewoman
Readme

Forewoman

Forewoman is a Node.js port of foreman, with the added feature of hot code reloading. With credits to node-supervisor for inspiring the hot code reloading implementation.

Export is not completed yet. It will be available from 0.2.x

Forewoman is extracted from the code base of Notifymode

Caveats

Forewoman should work on Linux, Mac OS and other variants of Unix. Windows is not supported.

Installation

You can install locally

npm install forewoman

or globally

npm install -g forewoman

If you choose to install locally, you have to invoke the full path to the forewoman command.

./node_modules/forewoman/bin/forewoman

If it is a global install, forewoman should be available from your PATH.

Usage

SYNOPSIS

forewoman start [OPTION]

forewoman start is used to run your application directly from the command line.

If no additional parameters are passed, forewoman will run one instance of each type of process defined in your Procfile.

If a parameter is passed, forewoman will run one instance of the specified application type.

The following options control how the application is run:

Options

-c, --concurrency

Specify the number of each process type to run. The value passed in should be in the format process=num,process=num

-e, --env

Specify one or more .env files to load

-f, --procfile

Specify an alternate Procfile to load, implies -d at the Procfile root.

-p, --port

Specify which port to use as the base for this application. Should be a multiple of 1000.

-w, --watch

Specify the files to watch. If the files are modified, forewoman will restart the process. The value passed in should be in the format process=/path/to/file,process=/path/to/file

License

Copyright (c) 2012 Wong Liang Zan. MIT License

Downloads/wk

4

GitHub Stars

11

LAST COMMIT

10yrs ago

MAINTAINERS

1

CONTRIBUTORS

2

OPEN ISSUES

0

OPEN PRs

0
VersionTagPublished
0.3.0
latest
10yrs ago
No alternatives found
No tutorials found
Add a tutorial