jekyll serve ERROR `/sw.js' not found


#1

I get the following error after using jekyll serve

[2018-07-06 09:42:43] INFO  WEBrick::HTTPServer#start: pid=7146 port=4000
  Server running... press ctrl-c to stop.
[2018-07-06 09:43:03] DEBUG accept: 127.0.0.1:45172
[2018-07-06 09:43:03] DEBUG Jekyll::Commands::Serve::Servlet is invoked.
[2018-07-06 09:43:03] DEBUG Jekyll::Commands::Serve::Servlet is invoked.
[2018-07-06 09:43:03] DEBUG Jekyll::Commands::Serve::Servlet is invoked.
[2018-07-06 09:43:04] DEBUG Jekyll::Commands::Serve::Servlet is invoked.
[2018-07-06 09:43:04] ERROR `/sw.js' not found.
[2018-07-06 09:43:04] DEBUG close: 127.0.0.1:45172

The error occurs every time I reload the page in the Firefox browser, not during build.

Where does that come from? I couldn’t find any file in my project directory that contains sw.js

I use the minima theme


#2

sw.js is a service worker.

I wouldn’t worry too much about the error…I think it only pertains to the local webbrick server.

I don’t think the minima theme uses service workers, but if it does then the path might be incorrect.