Skip to content

Commit

Permalink
In reality, it's only the config file that we can actually reload eff…
Browse files Browse the repository at this point in the history
…ectively.
  • Loading branch information
mdub committed Apr 29, 2012
1 parent 2be6c0d commit a12ad5b
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions lib/pith/project.rb
Expand Up @@ -92,7 +92,6 @@ def build
# Public: re-sync with the file-system.
#
def sync
@config_inputs = nil
load_config
validate_known_inputs
find_new_inputs
Expand Down Expand Up @@ -133,9 +132,7 @@ def helper_module
end

def config_inputs
@config_inputs ||= inputs.select do |input|
input.path.to_s[0,6] == "_pith/"
end
[input("_pith/config.rb")].compact
end

private
Expand Down

0 comments on commit a12ad5b

Please sign in to comment.