Questions tagged [nodemon]

nodemon is an automated process that monitors the directory for a given node application. When files change in this directory, nodemon automatically restarts the node application.

nodemon is an automated process that monitors the directory for a given node application. When files change in this directory, nodemon automatically restarts the node application.

Basic usage

nodemon [your node app]
nodemon ./server.js localhost 8080
1355 questions
0
votes
1 answer

Nodemon alias requiring modules like webpack

Webpack offers a pretty powerful tool to alias requiring modules but since I moved to an isomorphic stack, my express is now loading some of the webpack related world and my aliasing is breaking (erroring the server). Is there a way, preferably via…
Mohamed El Mahallawy
  • 13,024
  • 13
  • 52
  • 84
0
votes
1 answer

gulp-nodemon + browserSync: has no method 'spawnSync' & long loading time

I want to run nodemon with browsersync, so that I can see changes in my code instantly. I already had a setup environment from yeoman gulp-angular so I want to avoid using liverload etc. and stick to the preset unless there is a huge reason. I start…
Andi Giga
  • 3,744
  • 9
  • 38
  • 68
0
votes
1 answer

Gulp mocha crashes nodemon

I have a problem with my mocha gulp task. To run the tests, I have to launch the server, and then run the tests. The problem appears when a test fails : nodemon crashes and the node process still running. Here's my gulpfile: 'use strict'; var gulp…
loics2
  • 616
  • 1
  • 10
  • 24
0
votes
3 answers

Error when starting Nodemon on my server.js file (Nodejs)

I recently started getting an error in my terminal when I start nodemon on my server.js file within my directory. Here is a picture below Here is the error. dyld: lazy symbol binding failed: Symbol not found: _node_module_register …
diwao11
  • 151
  • 2
  • 15
0
votes
2 answers

My meanjs server takes 3-6 minutes to start

My mean.js app is based off the yoeman meanjs generator, with some tweaks (e.g. separating the front end and backend so they can be deployed separately). I'm launching the app using fig (see fig.yml below). When I set the command to "node…
Douglas Ferguson
  • 1,242
  • 2
  • 14
  • 25
0
votes
1 answer

Express / hbs not registering partial changes unless restarted

So, I'm using Express, hbs, and compass for my project. I'm also running things with nodemon to pick up any *.js changes. Everything is working fine except I have to completely restart nodemon anytime I make changes to a partial. I'm going to wager…
JDillon522
  • 19,046
  • 15
  • 47
  • 81
0
votes
2 answers

Delete doesn't trigger a restart event in nodemon

Is deleting a file not supposed to trigger a restart event? How can I capture a file being deleted? I've tried the following: $ node > require('nodemon')({ ext: '*.*', exec: 'true', ignore: false, watch: process.cwd() }). …
Abdullah Jibaly
  • 53,220
  • 42
  • 124
  • 197
0
votes
2 answers

Nodemon + Forever not detecting changes to files

I have the following command: /usr/local/bin/forever start -o /home/username/path/out.log -e /home/username/path/err.log /usr/local/bin/nodemon --watch /home/username/scriptpath --exitcrash /home/username/scriptpath/example.js Which I understand…
Gavin
  • 2,214
  • 2
  • 18
  • 26
0
votes
0 answers

grunt not launching my nodejs server

I'm trying nodejs to build a webapp and I'm trying to work with grunt this is the content of my current directory C:\data\nodeprojects>dir Répertoire de C:\data\nodeprojects 08/15/2014 01:48 PM . 08/15/2014 01:48 PM
netlyonel
  • 155
  • 1
  • 2
  • 8
0
votes
1 answer

Node js can connect internally but not externally

I am trying to connect to a js file on a local server. I want to be able to put in the external ip address and the port and have it run app externally. It is currently possible to do this locally. Here is my code for the server.js file: var express…
0
votes
1 answer

Linux VM/nodejs Issue: Nodemon, Coffee, etc Not Executing

I'm having issues installing and running programs with npm. I am running Ubuntu inside virtualbox on my windows 7 PC. Npm is installing node_modules just fine in the sense that Nodejs can require and use them; However, executables such as nodemon…
Zach Dahl
  • 609
  • 5
  • 12
0
votes
1 answer

Unable to install nodemon on Windows for node.js

I am trying to install the latest version of the nodemon module for node.js, but when I do npm install nodemon -g I have the following errors : npm ERR! Error: No compatible version found: chalk@'^0.4.0' npm ERR! Valid install targets: npm ERR!…
0
votes
0 answers

EADDRINUSE when nodemon app.js --ignore test/

How to use ignore option in nodemon for preventing nodemon to reload node.js site when something changed in test folder. I tried this way: nodemon app.js -e iced,json --ignore test/ But it gives me strange error: Error: listen EADDRINUSE at…
Maxim Yefremov
  • 13,671
  • 27
  • 117
  • 166
0
votes
0 answers

nodemon - watch the original script, not the current dir

I have scripts that are in my $PATH that work by operating on files present in the current directory. I'd like nodemon to monitor __dirname, not .. How?
Steven Lu
  • 41,389
  • 58
  • 210
  • 364
0
votes
2 answers

Running grunt-nodemon once after simultaneous file changes

This is my Gruntfile. I run concurrently nodemon to run my application and watch to watch for changes in my coffeescript. Coffeescript takes the src files and turns them into JS files (Currently 3, main.coffee, Person.coffee and Car.coffee) I want…