1.3.1 • Published 8 years ago

helloworldr v1.3.1

Weekly downloads
1
License
MIT
Repository
github
Last release
8 years ago

helloworldr

Build Status Gitter

Watches folder/files for changes and runs a command for quick tests. Runs the command in a child process with a default timeout of 1 minute.

Installation

Run the following

npm install helloworldr -g

Configuration

watch

Create a JSON file .helloworldr. Associating the glob pattern to watch with the command to run.

Example: Watch all files with .go extension in any subfolder and execute the command go run. Watch files in current path with .txt extension and print

	{
		"watch": {
			"**/*.go": "go run %1",
			"*.txt": "cat %1"
		}
	}

timeout

Number of seconds to wait before a child process timeout occurs.

Example: Timeout after 5 minutes

	{
		"timeout": 300,
		"watch": {
			"*.txt": "cat %1"
		}
	}

Run

Then run:

$ helloworldr

Optionally use a specific configuration file

$ helloworldr -c config.json

License

Copyright (c) 2015 Henry Tseng

Released under the MIT license. See LICENSE for details.

1.3.1

8 years ago

1.3.0

8 years ago

1.2.2

9 years ago

1.2.1

9 years ago

1.2.0

9 years ago

1.1.7

9 years ago

1.1.6

9 years ago

1.1.5

9 years ago

1.1.4

9 years ago

1.1.3

9 years ago

1.1.2

9 years ago

1.1.1

9 years ago

1.1.0

9 years ago

1.0.6

9 years ago

1.0.5

9 years ago

1.0.4

9 years ago

1.0.3

9 years ago

1.0.2

9 years ago

1.0.1

9 years ago

1.0.0

9 years ago