Permalink
Browse files

moved watch config values to development.js

  • Loading branch information...
1 parent f10e789 commit 1fcdc876f66a1ae32afa71f647183679642c6cd5 @troyastorino troyastorino committed Feb 6, 2014
Showing with 17 additions and 12 deletions.
  1. +12 −0 gen/base/development.js
  2. +5 −12 lib/base_config.js
@@ -20,6 +20,18 @@ var config = {
appName: 'Geddy App (development)'
, detailedErrors: true
, debug: true
+, watch: {
+ files : [
+ '/config'
+ , '/lib'
+ , '/app/controllers'
+ , '/app/models'
+ , '/app/views'
+ , '/app/helpers'
+ ]
+ , includePattern: '\\.(js|coffee|css|less|scss)$'
+ , excludePattern: '\\.git|node_modules'
+ }
, hostname: null
, port: 4000
, model: {
View
@@ -33,19 +33,12 @@ config = {
// Set stdout to debug log-level
, debug: false
// List of files to watch in order to restart geddy on changes in
-// development environment
+// development environment. Set these in config/development.js
, watch: {
- files : [
- '/config'
- , '/lib'
- , '/app/controllers'
- , '/app/models'
- , '/app/views'
- , '/app/helpers'
- ]
-, includePattern: '\\.(js|coffee|css|less|scss)$'
-, excludePattern: '\\.git|node_modules'
-}
+ files: []
+ , includePattern: ''
+ , excludePattern: ''
+}
// Use worker-process rotation
, rotateWorkers: true
// How long for a full rotation

0 comments on commit 1fcdc87

Please sign in to comment.