Skip to content
This repository has been archived by the owner on Jun 15, 2023. It is now read-only.

Commit

Permalink
Merge branch 'master' of github.com:brunch/brunch
Browse files Browse the repository at this point in the history
  • Loading branch information
paulmillr committed Apr 1, 2013
2 parents f3e3374 + 5785643 commit f9f6ad4
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 1 addition & 1 deletion src/helpers.coffee
Expand Up @@ -325,7 +325,7 @@ exports.loadConfig = (configPath = 'config', options = {}) ->
{config} = require fullPath
catch error
throw new Error("couldn\'t load config #{configPath}. #{error}")
setConfigDefaults config, fullPath
setConfigDefaults config, configPath
deprecations = getConfigDeprecations config
deprecations.forEach logger.warn if deprecations.length > 0
recursiveExtend config, options
Expand Down
2 changes: 2 additions & 0 deletions src/watch.coffee
Expand Up @@ -61,6 +61,8 @@ initWatcher = (config, callback) ->
config.paths.config, config.paths.packageConfig
]

watched.push config.paths.config + ext for ext of require.extensions

async.filter watched, fs_utils.exists, (watchedFiles) ->
watcher = chokidar.watch watchedFiles,
ignored: fs_utils.ignored,
Expand Down

0 comments on commit f9f6ad4

Please sign in to comment.