diff --git a/CHANGELOG.md b/CHANGELOG.md index df18a74f1..19f796052 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -12,6 +12,9 @@ _Please add entries here for your pull requests that are not yet released._ ### Added - Experimental support for other JS package managers using `package_json` gem [PR 349](https://github.com/shakacode/shakapacker/pull/349) by [G-Rath](https://github.com/g-rath). +### Fixed +- Recommend `server` option instead of deprecated `https` option when `--https` is provided [PR 380](https://github.com/shakacode/shakapacker/pull/380) by [G-Rath](https://github.com/g-rath) + ## [v7.1.0] - September 30, 2023 ### Added diff --git a/lib/shakapacker/dev_server_runner.rb b/lib/shakapacker/dev_server_runner.rb index 6684a0f7a..39a405a73 100644 --- a/lib/shakapacker/dev_server_runner.rb +++ b/lib/shakapacker/dev_server_runner.rb @@ -48,7 +48,7 @@ def detect_unsupported_switches! end if @argv.include?("--https") && !@https - $stdout.puts "Please set https: true in shakapacker.yml to use the --https command line flag." + $stdout.puts "--https requires that 'server' in shakapacker.yml is set to 'https'" exit! end end