Adam Laycock


Featured Posts

Moving to Gatsby

4th December 2018

Ive moved my site over to Gatsby!

Everything an Option in the Theme

18th August 2016

My aproach to WordPress theme development.

RADIUS With Windows Server 2012R2

22nd July 2016

RADIUS authentication for wireless networks using NAP in Windows Server 2012R2.

Jekyll Atom 1.0.0

23rd June 2015

  • Jekyll-Atom

Version 1.0.0 of Jekyll Atom has just landed and it contains some changes to the way Atom interacts with Jekyll.

The big change is how your site is served in development. 0.x.x used jekyll serve -w as a child process which lead to many issues with the child process not quiting with Atom, not responding to kill signals or not launching at all.

1.0.0 gets around this by running jekyll build and then using static-server to host the static site on the port you set in config.

It is possible to use jekyll build -w but that leaves us with the same problem as before, so taking a leaf out of compile-watch’s book we can call jekyll build when any editor in your Atom window saves. This is slower than getting Jekyll to watch the folder but it is more reliable in the long run.

1.0.0 uses an array to define your Jekyll build command to make life easier for those on Windows were the command could need to be C:\Path\to\Ruby.exe, C:\Path\to\jekyll\bin\jekyll.rb, build

Now that there is no child process there is no need to have a console to attach stdout to so the Manager Page is gone, completely. 1.0.0 uses notifications to communicate with you, informing you when:

  • The server is running
  • The server has stopped
  • The build has begun
  • The build has finished
  • The build has failed, with the error

I have some ideas for improvements & new features that I will be looking at in the near future.

Other Posts

Creating the Less compiler for compile-watch

27th April 2015

Compile Watch is easy to modify with additional watchers

Caching Apple Downloads

14th July 2015

Solving the worst part of iPads in schools.

Adam Laycock
Recent Articles

All content is my own unless otherwise stated.

My content is licensed under the CC-BY-NC-SA 4.0 license

cc by-nc-sa