johnpapa / pluralsight-gulp

Starter Code for Pluralsight Course "JavaScript Build Automation with Gulp.js"
http://jpapa.me/gulpps
MIT License
158 stars 262 forks source link

gulp-nodemon - watch not working #8

Closed kevinsherman closed 9 years ago

kevinsherman commented 9 years ago

In the "Using nodemon in a Gulp Task" segment of "Serving your Development Build", I had to change var server = './src/server/' to var server = '/src/server/' (remove the leading '.'). Not sure if this is a windows issue... but the watch wasn't firing the restart without this change.

johnpapa commented 9 years ago

hmmm ... let me try that again on the mac and see whats up

johnpapa commented 9 years ago

just tried it and it works for me on the mac. that's just odd.

mb2o commented 9 years ago

I'm also using Windows (v8.1) and I do not have this issue. One comment though, I would replace the value for nodeServer with server + 'app.js' to keep it DRY ;)

Oh and by the way, I created a WebStorm implementation of the Delkos theme

johnpapa commented 9 years ago

:D

harksha commented 8 years ago

@johnpapa I found a similar issue too on win 10. Nodemon seems to go up 2 lvls when searching for the app.js file, removing the "." didn't work for me, but switching to nodeServer:'./pluralsight-gulp/src/server/app.js' fixed it