Rename server.js to insight.js for multi-node env.
This commit is contained in:
parent
0da8cdef87
commit
81958638f7
|
@ -22,7 +22,7 @@ module.exports = function(grunt) {
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
js: {
|
js: {
|
||||||
files: ['Gruntfile.js', 'server.js', 'app/**/*.js', 'public/js/**'],
|
files: ['Gruntfile.js', 'insight.js', 'app/**/*.js', 'public/js/**'],
|
||||||
tasks: ['jshint'],
|
tasks: ['jshint'],
|
||||||
options: {
|
options: {
|
||||||
livereload: true,
|
livereload: true,
|
||||||
|
@ -48,7 +48,7 @@ module.exports = function(grunt) {
|
||||||
},
|
},
|
||||||
jshint: {
|
jshint: {
|
||||||
all: {
|
all: {
|
||||||
src: ['Gruntfile.js', 'server.js', 'app/**/*.js', 'public/js/**','lib/*.js'],
|
src: ['Gruntfile.js', 'insight.js', 'app/**/*.js', 'public/js/**','lib/*.js'],
|
||||||
options: {
|
options: {
|
||||||
jshintrc: true
|
jshintrc: true
|
||||||
}
|
}
|
||||||
|
@ -63,7 +63,7 @@ module.exports = function(grunt) {
|
||||||
|
|
||||||
nodemon: {
|
nodemon: {
|
||||||
dev: {
|
dev: {
|
||||||
script: 'server.js',
|
script: 'insight.js',
|
||||||
options: {
|
options: {
|
||||||
args: [],
|
args: [],
|
||||||
ignore: ['public/**', 'test/**','util/**'],
|
ignore: ['public/**', 'test/**','util/**'],
|
||||||
|
|
Loading…
Reference in New Issue