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
Danil Kornishev
@dkornishev
i.e. export CHROME_FLAGS="--user-data-dir=/amok" works. When I tried to include actual paths (or god forbid ~) it stops working
amok --browser chrome --hot file:///cygpath -wa index.html opens the browser but does not start a debug connection
amok --browser chrome --hot js/index.bundle.js works correctly, but only if run from the same dir as where index.html lives
I think it would be nice to be able to specify baseDir and/or index.html to load
Danil Kornishev
@dkornishev
I've also been thinking about using amok via api, looking at the script doesn't seem like it would be too hard, but some documentation would be nice
anyway, phenomenal project already, hope it really takes off. It motivated me to dust off and re-connect my second monitor :)
Casper Beyer
@caspervonb
Yeah dual monitors with amok rock! :)
I'm splitting 2.0 docs into a gitbook and man pages, so it'll be better
Right now, the getting started guide isa bit old and out of sync in some places, amok will for example create a profile by default now, pre 1.0 it was opt in but it was a shotgun that always fired at people's ankles
Danil Kornishev
@dkornishev
tried it without CHROME_FLAGS, it works (opens a new chrome window). Annoying thing it doesn't seem to re-use same profile when closing/restarting? window position isn't remembered (and neither is position of chrome inspector)
Danil Kornishev
@dkornishev
ok, looks like at least some errors in javascript cause the hot reload to break (even once corrected)
actually watchify seems to be ify too, could be just my lack of experience with javascript builds
Casper Beyer
@caspervonb
@dkornishev Yeah 2.0 will use XDG based profile paths, a tuple of browser name and port so it'll be the same, right now its a unique profile per amok session
In some cases, compilers will still compile when there's an error, the script compiled will contain console.log('error...:')
Which can cause a bunch of problems
Please, feel free to file issues on things that are not as smooth as they should be
I'm so used to the quirks and whatnot that it doesn't bother me that much, but i know there's things that can be polished
Casper Beyer
@caspervonb
Basically the one thing that can break hotswapping is if the script is not empty, then empty and then not empty again
Danil Kornishev
@dkornishev
If/when I figure out more specifically cases that cause hotswap to break, I will surely open an issue :)
Slađan Ristić
@sladiri
Hi, I am trying out amok and amokify, and I am unsure how amokify relates to the --hot parameter for amok. The example for amokify doesn't use it, is it not advised to use both?
Slađan Ristić
@sladiri
It looks like teaser video number one uses hot, I cannot reproduce it without hot.
Casper Beyer
@caspervonb
Hi @sladiri , so amokify is not done which is why its never really mentioned anywhere excpt for my medium blog
Things happend, like V8 came out with classes etc making it incomplete
Basically, Amokify extends --hot with re-evaluation
It should still be in the state it was when i recorded the video tho but kinda a big 'experimental' sticker on it
Slađan Ristić
@sladiri
Thank you for the explanation @caspervonb .
Casper Beyer
@caspervonb
I swear the next iteration of the docs will be world class :)
Slađan Ristić
@sladiri
I am new to this, I find your project really interesting and it is sad that seemingly few people talk about it. :)
I just tried amok hot loading with Mercury framework. @caspervonb
Casper Beyer
@caspervonb
Hm, mercury is new to me. but it should work! :)
Yeah looking at it, its functional in nature so should get pretty good milage out of it with amok
Slađan Ristić
@sladiri
Yes, I'll have to create some UI prototypes for school, and want use amok with either mercury, mithril or cyclejs. Mercury looks like similar to cycle. Cool, good to know that you don't see any huge problems. :)
Casper Beyer
@caspervonb
Curioustho, where did you find amok @sladiri ?
Been a while since I've been plugging it
Slađan Ristić
@sladiri
@caspervonb I am not sure, I think I looked for live coding with Mithril and found your videos on Youtube.
Casper Beyer
@caspervonb
Cool cool :)
Slađan Ristić
@sladiri
@caspervonb It was by accident, I already settled for the fact that the hot-replacement was the best you could do. I guess, for newcomers it is easy to miss the advantages of having a REPL instead of hot-replacement only. The first time I saw hot live coding was an Om/React presentation for Clojurescript. :)
I'm looking forward to trying it out on a project
Casper Beyer
@caspervonb
:+1:
Remember, I can't improve things thats not brought up via the issue tracker :)
Slađan Ristić
@sladiri
Of course, I am trying to understand it all. :) I'd like to create an example for Mercury at least
Yang Su
@yangsu
What's the status of this project? Haven't seen any commits since january
Casper Beyer
@caspervonb
@yangsu it's still alive, but the lights have to stay on around here too.
Yang Su
@yangsu
cool just curious. I've been playing around with it for some personal projects and it's been awesome so far.
Casper Beyer
@caspervonb
Great to hear :)
Jigar Gosar
@jigargosar
hey guys, does amok support browserify/bable?
I am currently using budo, and it refreshes the entire page.
Rasmus Porsager
@porsager
Hi @jigargosar I've had success using -c watchify -- -t babelify
Jigar Gosar
@jigargosar
and this will not reload the whole page? just confirming
Rasmus Porsager
@porsager
yeah you'll get hot reload