Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

nodemon

Package Overview
Dependencies
Maintainers
1
Versions
256
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

nodemon - npm Package Compare versions

Comparing version 0.7.8 to 0.7.10

.travis.yml

22

nodemon.js

@@ -519,2 +519,3 @@ #!/usr/bin/env node

exec: 'node',
forceExec: false,
verbose: true,

@@ -550,2 +551,3 @@ js: false, // becomes the default anyway...

options.exec = args.shift();
options.forceExec = true;
} else if (arg === '--legacy-watch' || arg === '-L') {

@@ -589,2 +591,18 @@ options.forceLegacyWatch = true;

// make sure --debug and --debug-brk is moved to the front
// of the argument
var debugIndex = -1;
program.args = program.args.filter(function (arg, i) {
if (arg.indexOf('--debug') === 0) {
debugIndex = arg;
return false;
} else {
return true;
}
});
if (debugIndex !== -1) {
program.args.unshift(debugIndex);
}
if (!program.app) {

@@ -603,3 +621,3 @@ program.app = program.args[0];

if (program.options.exec === 'node' && ((program.ext.indexOf('.coffee') !== -1) || (program.ext.indexOf('.litcoffee') !== -1) )) {
if (!program.options.forceExec && program.options.exec === 'node' && program.ext.indexOf('coffee') !== -1) {
program.options.exec = 'coffee';

@@ -616,3 +634,3 @@ }

// this code is a dance to get the order of the debug flags right when combined with coffeescript
var debugIndex = program.args.indexOf('--debug');
debugIndex = program.args.indexOf('--debug');
if (debugIndex === -1) {

@@ -619,0 +637,0 @@ debugIndex = program.args.indexOf('--debug-brk');

52

package.json
{
"name": "nodemon",
"homepage": "http://github.com/remy/nodemon",
"author": {
"name": "Remy Sharp",
"url": "http://github.com/remy"
},
"bin": { "nodemon" : "./nodemon.js" },
"repository": { "type" : "git", "url" : "http://github.com/remy/nodemon.git" },
"description": "Simple monitor script for use during development of a node.js app.",
"keywords": ["monitor", "development", "restart", "autoload", "reload", "terminal"],
"version": "0.7.8",
"preferGlobal" : "true",
"licenses": [{
"name": "nodemon",
"homepage": "http://github.com/remy/nodemon",
"author": {
"name": "Remy Sharp",
"url": "http://github.com/remy"
},
"bin": {
"nodemon": "./nodemon.js"
},
"repository": {
"type": "git",
"url": "http://github.com/remy/nodemon.git"
},
"description": "Simple monitor script for use during development of a node.js app.",
"keywords": [
"monitor",
"development",
"restart",
"autoload",
"reload",
"terminal"
],
"version": "0.7.10",
"preferGlobal": "true",
"licenses": [
{
"type": "MIT",
"url": "http://rem.mit-license.org"
}],
"main": "./nodemon"
}
],
"main": "./nodemon",
"scripts": {
"test": "mocha --ui bdd --reporter spec ./test/*.js"
},
"devDependencies": {
"connect": "*",
"mocha": "~1.9.0",
"should": "~1.2.2"
}
}
# nodemon
[![Flattr this](http://api.flattr.com/button/flattr-badge-large.png)](http://flattr.com/thing/1211372/remynodemon-on-GitHub)
For use during development of a node.js based application.

@@ -9,2 +11,5 @@

[![NPM version](https://badge.fury.io/js/nodemon.png)](http://badge.fury.io/js/nodemon)
[![Travis Status](https://travis-ci.org/remy/nodemon.png)](https://travis-ci.org/remy/nodemon)
# Installation

@@ -68,3 +73,3 @@

By default, nodemon looks for files with the `.js` extension. If you use the `--exec` option and monitor `app.py` nodemon will monitor files with the extension of `.py`. However, you can specify your own list with the `-e` switch like so:
By default, nodemon looks for files with the `.js`, `.coffee`, and `.litcoffee` extensions. If you use the `--exec` option and monitor `app.py` nodemon will monitor files with the extension of `.py`. However, you can specify your own list with the `-e` switch like so:

@@ -127,2 +132,6 @@ nodemon -e js,css,html

# Using nodemon in your Grunt workflow
Check out the [grunt-nodemon](https://github.com/ChrisWren/grunt-nodemon) plugin to integrate nodemon with the rest of your project's grunt workflow.
# Help! My changes aren't being detected!

@@ -129,0 +138,0 @@

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc