Skip to content
Browse files
Using configuration filename when calling nikola from auto command.
  • Loading branch information
felixfontein committed Jan 30, 2015
1 parent b061850 commit bdd4cfbde28f3b5741709829bab6f9d5b15e665f
Showing 1 changed file with 14 additions and 8 deletions.
@@ -63,23 +63,29 @@ def _execute(self, options, args):
req_missing(['livereload'], 'use the "auto" command')

arguments = ['build']
if != '':
arguments = ['--conf=' +] + arguments

command_line = 'nikola' + ' '.join(arguments)

# Run an initial build so we are up-to-date"nikola", "build"))["nikola"] + arguments)

port = options and options.get('port')

server = Server()'', 'nikola build')'themes/', 'nikola build')'templates/', 'nikola build'), command_line)'themes/', command_line)'templates/', command_line)
for item in['post_pages']:[0]), 'nikola build')[0]), command_line)
for item in['FILES_FOLDERS']:, 'nikola build'), command_line)
for item in['GALLERY_FOLDERS']:, 'nikola build'), command_line)
for item in['LISTINGS_FOLDERS']:, 'nikola build'), command_line)

out_folder =['OUTPUT_FOLDER']
if options and options.get('browser'):

0 comments on commit bdd4cfb

Please sign in to comment.