bin/scms in scms-4.1.0 vs bin/scms in scms-4.1.1
- old
+ new
@@ -138,10 +138,12 @@
ScmsWatcher.watch(settings, options, Folders[:config])
sleep unless options[:server]
end
if options[:server]
- ScmsServer.start(Folders[:website], options[:port])
+ port = options[:port]
+ port = settings["port"] if settings["port"] != nil
+ ScmsServer.start(Folders[:website], port)
end
if options[:publish]
if File.exists?(File.join(Folders[:config], "_s3config.yml"))
puts "Deploying to S3"
\ No newline at end of file