by

Where communities thrive


  • Join over 1.5M+ people
  • Join over 100K+ communities
  • Free without limits
  • Create your own community
People
Repo info
Activity
  • Jan 20 2016 01:59
    caspervonb opened #187
  • Jan 19 2016 14:16
    caspervonb synchronize #186
  • Jan 19 2016 14:16

    caspervonb on reorganize-docs

    doc: move getting-started guide… (compare)

  • Jan 19 2016 14:11
    caspervonb opened #186
  • Jan 19 2016 14:08

    caspervonb on reorganize-docs

    doc: rename man -> doc Having … doc: separate docs into sub-fol… (compare)

  • Jan 19 2016 13:14
    caspervonb opened #185
  • Jan 19 2016 13:14

    caspervonb on change-readme-banner

    doc: use banner image from medi… (compare)

  • Jan 19 2016 12:56
    caspervonb closed #184
  • Jan 19 2016 12:56
    caspervonb commented #184
  • Jan 16 2016 21:45
    caspervonb opened #184
  • Jan 15 2016 16:10
    caspervonb opened #183
  • Jan 15 2016 01:21
    caspervonb closed #182
  • Jan 15 2016 01:21
    caspervonb closed #128
  • Jan 15 2016 01:21

    caspervonb on master

    doc: add contributing document … (compare)

  • Jan 15 2016 01:17

    caspervonb on contributing

    doc: add contributing document … (compare)

  • Jan 15 2016 01:17
    caspervonb synchronize #182
  • Jan 14 2016 18:22
    caspervonb opened #182
  • Jan 14 2016 18:19

    caspervonb on contributing

    doc: add contributing document … (compare)

  • Jan 14 2016 17:01
    caspervonb opened #181
  • Jan 13 2016 04:41
    rgbkrk commented #101
Rasmus Porsager
@porsager
Yeah..
M. Yetatore
@yetatore
Hi! I'm joining this room with hope that this project is still alive :)
In my spare time I'm working/researching about "instant feedback" in web development.
We know that JavaScript is capable to support this in a development environment, so, I love to see a project motivated to achieve that.
M. Yetatore
@yetatore
Amok is platform dependent? Because I can't use it under linux.
I'll make a bug report with the exception that raises.
Oh, another thing... amokjs.com is down. Maybe it would be a good idea removing the references to it? Because searching for information I get to an death end many times.
Casper Beyer
@caspervonb
Will renew the domain soon
And it should work just fine on Linux :)
M. Yetatore
@yetatore
Cool! I'm glad to start working in this project ;)
Josh Duff
@TehShrike
@caspervonb have you ever considered releasing rdbg + hotreload as its own module? I have my own build/autoreload script already, but I would love to be able to drop in your hotreload solution in place of triggering a LiveReload server
Casper Beyer
@caspervonb
@TehShrike Hmm, source? :P
Just to grok the use case
build/server etc is optional, amok can serve just as a browser 'opener' with hotreload
v2 (http://github.com/codajs/coda) is more modular (and not usable at all currently, don't even bother installing it :P )
Josh Duff
@TehShrike
@caspervonb yeah, I read the source, and it was a bit tied into the rest of the amok framework to be very easy to use on its own
I imagine if I studied it long enough I could figure out how to rewrite it, but I do love reusing other people's already-working libraries :-)
Casper Beyer
@caspervonb
I'll take it into consideration if coda-hotpatch can be made standalone'ish ;)
Casper Beyer
@caspervonb
If it does, then it means no runtime launching
Truly seperate concerns, just optionally creates its own connection if none is provided. Allowing it to act as a standalone executable, or plugin.
Casper Beyer
@caspervonb
@TehShrike The leanest I can do is something like coda-hotpatch.start({ port: 9222 })
Yet to push but these are basically dual purpose modules.. the default export is a plugin entry point, everything else is "useful" code relating to that domain
Josh Duff
@TehShrike
What interface does that return? I haven't read every line of code in coda yet but I imagine I'd need two things: the hotpatching code that I inject into the client that connects to the server, and the server with a hotpatchCodeOnClient(javascriptCode) method
Casper Beyer
@caspervonb
There is no server tho ;)
Remember that the browser is the server
Josh Duff
@TehShrike
aah
Casper Beyer
@caspervonb
Just returns the rdbgp.Client (same as rdbgp really, just that its a duplex stream instead)
Josh Duff
@TehShrike
gotcha
Casper Beyer
@caspervonb
err same as rdbg*
Just from a testability standpoint tho, making these work as standalone executables as-well as plugins feels great :D
Still can't make re-evaluation work without transforms/loaders tho.. arrgh javascript y u no metaprogramming ;)
Casper Beyer
@caspervonb
@TehShrike something like https://github.com/codajs/coda-hotpatch ? :P
Josh Duff
@TehShrike
Sweet, I'll take a look over that!
Casper Beyer
@caspervonb
Oh yeah it has CSS now too, but haven't added post hooks yet. Not sure if I'll keep the callback approach or not
TatriX
@TatriX
Hey. I'm trying to run amok in arch linux with --browser chrome and nothing happens at all. --browser=firefox seems to work. Any ideas?
Nathaniel Watson
@nathanielw
@TatriX I'm on Arch as well and Chrome launches fine using Amok (e.g. amok --browser chrome about:blank). Just a guess, but something I've seen with other projects is that they'll work with Google Chrome, but not Chromium (usually just because they're hard-coded to run google-chrome). Easy solution might be to install Chrome from the AUR (assuming that actually is the problem)
Or maybe try amok --browser /usr/bin/chromium about:blank
TatriX
@TatriX
@nathanielw I've tried something like this: CHROME_BIN=/usr/bin/chromium amok --browser=chrome ...
And all other variants
amok simply silently do nothing
Casper Beyer
@caspervonb
No error? :o
--browser chromium would do a chromium lookup (chromium-browser) in PATH
Jitendra Vyas
@jitendravyas
Is Amok useful for Javascript hotreloading only or it also works with CSS ?
Casper Beyer
@caspervonb
Currently JavaScript only, doing more for v2 but that's still vaporware :smile:
Rasmus Porsager
@porsager
I use it with
Casper Beyer
@caspervonb
There's events which you can use to reload CSS etc, but nothing built in. Can also use livereload or other available tech
like browsersync
Jitendra Vyas
@jitendravyas
ok
Renato Marinho
@renatomarinho
This message was deleted
Renato Marinho
@renatomarinho
This message was deleted