Giter VIP home page Giter VIP logo

Comments (15)

lewislepton avatar lewislepton commented on July 17, 2024

oh I forgot to add. it also pops up with this right after it doesn't work

Screenshot 2020-05-19 at 18 56 07

from khahotreload.

RblSb avatar RblSb commented on July 17, 2024

Hi! Does it works for you if you clone repo and run in VSCode with HTML5-watch launch? Also, try to change kha.khaPath (maybe it is wrong?)

from khahotreload.

lewislepton avatar lewislepton commented on July 17, 2024

I mean, with the example it works fine. black screen, much like the other issue #2
Screenshot 2020-05-20 at 00 39 01

once I try it in my own thing. exact same way, its not working. no black screen, just the errors like before in the terminal box thing

which kha.khaPath are you talking about. the settings/preferences or where, not sure what you mean the path to change since I know mainly the preferences one

x

from khahotreload.

lewislepton avatar lewislepton commented on July 17, 2024

it worked fine in the regular html5 - same with the given example of this repo. shapes popped up. but no reload

from khahotreload.

lewislepton avatar lewislepton commented on July 17, 2024

I guess this is something found first of all where the Server seems to be pointing to nowhere the server.js

if (!libPath) libPath = path.resolve('./Libraries/hotml');
const Server = require(path.resolve('./server/bin/server.js')).Main; // this seems wrong, was changed & still didn't work. but it seems wrong

from khahotreload.

lewislepton avatar lewislepton commented on July 17, 2024

but just to ask. is there any extra libraries need installing? found hxnodejs & utest when looking in the build.hxml. only asking since there was no mention of them in the repo readme

from khahotreload.

RblSb avatar RblSb commented on July 17, 2024

Sorry for this, i forgot to update one line in readme after lib update. See latest commit.
kha.khaPath is VSCode settings (also KodeStudio i think). Also, for fixing black screen, update electron binary as described in #2.

from khahotreload.

RblSb avatar RblSb commented on July 17, 2024

Feel free to reopen

from khahotreload.

lewislepton avatar lewislepton commented on July 17, 2024

cool spot. cheers man. ill reopen if need be

thanks again

from khahotreload.

lewislepton avatar lewislepton commented on July 17, 2024

with updating the electron version. how that that be done. I tried plopping in the executable, couldn't get it to work. tried installing other ways, but nope. is this an install that can be done from vscode, or is it just a simple drag & drop?

thanks again

from khahotreload.

RblSb avatar RblSb commented on July 17, 2024

Sorry, forgot to answer. Simple drag & drop, for me electron binaries is inside:
HOME/.vscode/extensions/kodetech.electron-debug-18.11.1/.electron/4.0.1

from khahotreload.

lewislepton avatar lewislepton commented on July 17, 2024

hey bud,

sorry Im just not getting the result. swapped electron versions, nothing works. just pops up with error messages if trying something. it says about the launch.json most of the time. even if its been swapped. just cant think what it could be wrong

thanks again

Screenshot 2020-06-15 at 18 44 06

Screenshot 2020-06-15 at 18 46 52

Screenshot 2020-06-15 at 18 44 12

from khahotreload.

RblSb avatar RblSb commented on July 17, 2024

Try to press cmd-s (save file) on source file after you run html5 watch build, maybe this is related to timeout bug when task doesn't know that compilation is complete.

from khahotreload.

lewislepton avatar lewislepton commented on July 17, 2024

AHA, for some reason, it worked with 4.0.1 electron. oddly. could not say why.
but did try a sway with electron to 9.whatever. seems to work completely fine. it is slow, but that also may just be my machine.
but ill message on here if there are troubles. but I really don't know why this is now working

from khahotreload.

lewislepton avatar lewislepton commented on July 17, 2024

thanks again though. big help xxx

from khahotreload.

Related Issues (7)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.