Figuring out a build process
An exercise in pulling the finger out
These days it’s relatively easy to cobble together a website. All you need is some search-engine prowess and half an ounce of patience. Sprinkle (or pour, in some cases) some jQuery here, a dash of CSS there and you’re good to go.
This doesn't mean you’re going to have a good website, but at least you have some web presence, and for some that’s all they want to achieve.
I’m a web developer, and have been for a little over a year now so I’m still quite new to everything. I studied some aspects of it in college, mostly server-side programming, but it did little to prepare me for the experience of trying to work on an ever-changing landscape. My previous process was really straightforward: Develop locally with WAMP/MAMP, open up FileZilla and drag and drop replacing the previous files. Simples!
Get T.J. Fogarty’s stories in your inbox
Join Medium for free to get updates from this writer.
Or tedious, rather. Especially when I started minifying and compressing code. For JavaScript I’d visit Uglify and throw everything in there and paste the results into a new all.min.js file, and the same for CSS with something like CSSMinifier. I did this for ages. I was just stuck in a rut of the same old grind. That’s just how it was.
Then one day I used Sass and I said to myself:
I've been a fucking idiot.
I wasn't enjoying my work as I once did because I was slugging through the same old process of managing every aspect of the website when I really didn't have to, and this was every time an update was needed as well. So I escaped to the mountains and after several arduous months I returned as a new, heavily bearded man.
The use of Grunt, Git and git-ftp has made life worth living again. I just run something like grunt watch:scripts and now it automatically concatenates and minifies all my JavaScript files whenever something changes while Sass takes care of my CSS. Just gonna push this to the server now with git ftp push…
All this saves time and effort, and lets me focus on the actual development of the website.
I’m sure I’m light-years behind most others on this, but for me this was a turning moment.






