Hi! 👋
How would I go on to develop my website locally? Constantly pushing a minor change and letting the GitHub pages action build the website seems suboptimal.
When I want to host locally by running bundle exec jekyll liveserve the page is not found and when I refresh it I get redirected to the website hosted by GitHub pages.
Do I have to change something in the _config.yaml?
Once I open localhost I also get this error message:
[2023-03-01 04:15:01] ERROR NoMethodError: undefined method `key?' for nil:NilClass\n\n return unless @mime_types_charset.key?(typ)\n ^^^^^
/Users/borismeinardus/.rbenv/versions/3.1.3/lib/ruby/gems/3.1.0/gems/jekyll-3.9.3/lib/jekyll/commands/serve/servlet.rb:191:in `conditionally_inject_charset'
/Users/borismeinardus/.rbenv/versions/3.1.3/lib/ruby/gems/3.1.0/gems/jekyll-3.9.3/lib/jekyll/commands/serve/servlet.rb:176:in `do_GET'
/Users/borismeinardus/.rbenv/versions/3.1.3/lib/ruby/gems/3.1.0/gems/hawkins-2.0.5/lib/hawkins/servlet.rb:134:in `do_GET'
/Users/borismeinardus/.rbenv/versions/3.1.3/lib/ruby/gems/3.1.0/gems/webrick-1.8.1/lib/webrick/httpservlet/abstract.rb:105:in `service'
/Users/borismeinardus/.rbenv/versions/3.1.3/lib/ruby/gems/3.1.0/gems/webrick-1.8.1/lib/webrick/httpservlet/filehandler.rb:242:in `service'
/Users/borismeinardus/.rbenv/versions/3.1.3/lib/ruby/gems/3.1.0/gems/webrick-1.8.1/lib/webrick/httpserver.rb:140:in `service'
/Users/borismeinardus/.rbenv/versions/3.1.3/lib/ruby/gems/3.1.0/gems/webrick-1.8.1/lib/webrick/httpserver.rb:96:in `run'
/Users/borismeinardus/.rbenv/versions/3.1.3/lib/ruby/gems/3.1.0/gems/webrick-1.8.1/lib/webrick/server.rb:310:in `block in start_thread'
Hi! 👋
How would I go on to develop my website locally? Constantly pushing a minor change and letting the GitHub pages action build the website seems suboptimal.
When I want to host locally by running
bundle exec jekyll liveservethe page is not found and when I refresh it I get redirected to the website hosted by GitHub pages.Do I have to change something in the _config.yaml?
Once I open localhost I also get this error message: