Update Fixed! With this tweet Jim Lind has saved my day.
As with most programming oddities, I’m willing to bet that when the issue is found it will be something completely obvious and stupid on my part. But, on the chance that someone out there can help me here is what is going on.
I’m using Sublime Text Build 3065, running Vagrant to run a Virtual Box for my Unmark development environment, and that box is a typical LAMP set up. If you need any of these specific details – or you think they’d be appropriate to include in this post – hit me up on the tweet box and I’ll add them.
Here is how you reproduce the problem (assuming it isn’t something specific on my computer).
- Clone the Unmark repo and follow the set up instructions found on GitHub.
- Verify that Unmark runs properly.
- Open /assets/js/unmark.marks.js in your text editor
- Edit any line or add a random console.log(’hi’); somewhere in the file.
- Save it, run “grunt” again
You shouldn’t get any errors or warnings from Grunt. If you do, you may have a Gruntfile that says ‘uglify:custom’ or ‘concat:custom’ — which is looking for a custom folder in the Unmark directory. It is our way of allowing anyone that wants to build on top of Unmark to do so non-destructively. Anyway… you can get rid of those in the Gruntfile if it gives you issues.
I do not know why. I’ve been scratching at this for several hours and I have yet to figure it out.