npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2024 – Pkg Stats / Ryan Hefner

gulp-dotnet-watch

v0.3.1

Published

dotnet-watch plugin for gulp

Downloads

88

Readme

gulp-dotnet-watch

dotnet-watch plugin for Gulp (but, not really)

Install

npm install gulp-dotnet-watch --save-dev

Basic Usage

var gulp = require('gulp'),
	DotnetWatch = require('gulp-dotnet-watch');

gulp.task('watch-server', function () {
	DotnetWatch.watch('run');
});

Advanced Usage

var gulp = require('gulp'),
	DotnetWatch = require('gulp-dotnet-watch');

gulp.task('watch-server', function () {
	var watcher = new DotnetWatch({
		project: './WebFull',
		verbose:, 'true',
		options: [ 'no-launch-profile' ],
		arguments: {
			environment: 'Development',
			"server.urls": 'https://localhost:6000;http://localhost:6001'
		},
		special: {
			arguments: {
				customArg1: 'Custom Value 1'
			}
		}
	});

	watcher.watch('run', function() {
		console.log('Application has started.');
	}});
});

Options

cwd

The cwd option is based through to the child process.

Default: './'

project

The project to be watched.

Default: null

quiet

Suppresses all output except warnings and errors.

Default: false

verbose

Show verbose output.

Default: false

options

Value options that will configure the dotnet task. For example [ 'no-launch-profile', 'no-build' ] would result in --no-launch-profile --no-build.

Default: null

arguments

Key/value arguments that will configure the dotnet task. For example { framework: 'net451', verbosity: 'm' } would result in --framework net451 --verbosity m.

Default: null

special.options

Special value options that will be passed through to the child dotnet process. For example [ 'custom-flag-1', 'custom-flag-2' ] would result in -- --custom-flag-1 --custom-flag-2.

Default: null

special.arguments

Special Key/value arguments that will be passed through to the child dotnet process. For example { customArg1: 'Custom Value 1', customArg2: 'Custom Value 2' } would result in -- --customArg1 "Custom Value 1" --customArg2 "Custom Value 2".

Default: null

Methods

DotnetWatch.watch(task [, options [, loaded]])

This static method will start a watch process for the provided task, and can be configured by passing an options object. The method will return an active watcher instance, and the loaded callback will be issued once the watch process has started the application. Supported tasks include 'run' and 'test', however others may still work.

new DotnetWatch([options]).watch(task [, loaded])

This method will start a watch process for the provided task. The method will return an active watcher instance, and the loaded callback will be issued once the watch process has started the application.

new DotnetWatch([options]).kill()

This method will kill the active watch process on the watcher instance.

Properties

isApplicationStarted

This property is true when the application is started ready to receive requests, otherwise false.

options

This property reveals the options that where used to configure the watcher.

License

MIT