Skip to content

Instantly share code, notes, and snippets.

@janmartenjongerius
Created July 23, 2012 18:53
Show Gist options
  • Save janmartenjongerius/3165403 to your computer and use it in GitHub Desktop.
Save janmartenjongerius/3165403 to your computer and use it in GitHub Desktop.
Having problems loading square --watch on Fedora 16
20:49 /var/www/html/drenths-end.nl $ square --bundle . --plugin crush
o-o o-o o o o-o o-o o-o
\ | | | | |-| | |- version: 0.0.6
o-o o-O o--o o o-o o-o
|
o
20:49 /var/www/html/drenths-end.nl $ square --bundle . --plugin crush --watch 1337
o-o o-o o o o-o o-o o-o
\ | | | | |-| | |- version: 0.0.6
o-o o-O o--o o o-o o-o
|
o
info: Live reload is initializing, make sure you have the following script
info: included in your webpage to recieve the live reloads:
<script>
!function(l,i,v,e){
e=l.createElement(i);v=l.getElementsByTagName(i)[0];e.async=true;
v.parentNode.insertBefore(e,v);
e.src="http://"+ window.location.hostname +":1337/live/reload.js";
}(document,"script");
</script>
info: paste it right above your closing </body> tag.
info: watching bundled *.js for file changes
/home/johmanx/git/square/node_modules/async/lib/async.js:229
iterator(x.value, function (v) {
^
TypeError: undefined is not a function
at /home/johmanx/git/square/node_modules/async/lib/async.js:229:13
at /home/johmanx/git/square/node_modules/async/lib/async.js:86:13
at Array.forEach (native)
at /home/johmanx/git/square/node_modules/async/lib/async.js:26:24
at /home/johmanx/git/square/node_modules/async/lib/async.js:85:9
at /home/johmanx/git/square/node_modules/async/lib/async.js:228:9
at Object.<anonymous> (/home/johmanx/git/square/node_modules/async/lib/async.js:168:23)
at Notify.add (/home/johmanx/git/square/node_modules/fs.notify/notify.js:43:9)
at new Notify (/home/johmanx/git/square/node_modules/fs.notify/notify.js:22:19)
at watching (/home/johmanx/git/square/lib/watch.js:80:18)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment