Written by Liam McLennan

return to

This file is a fantasy readme for an tool that doesn’t exist yet. I wrote it in an attempt to apply readme driven development. The idea is to force yourself to define a vision for your product/tool/whatever before starting to build anything.


snap is a tool that automatically reloads your browser based on filesystem events. For example, it can be configured to automatically reload the webpage you are working on when any of your html files are modified.

  '.': /.+\.html/


Create a snap script (as above) and start the server:

node snap mysnapscript.js

Add the following script to the page that you want auto-reloaded:

<script src="http://localhost:9876/snap.js"></script>