Comments (15)
oh I forgot to add. it also pops up with this right after it doesn't work
from khahotreload.
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.
I mean, with the example it works fine. black screen, much like the other issue #2
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.
it worked fine in the regular html5 - same with the given example of this repo. shapes popped up. but no reload
from khahotreload.
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.
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.
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.
Feel free to reopen
from khahotreload.
cool spot. cheers man. ill reopen if need be
thanks again
from khahotreload.
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.
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.
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
from khahotreload.
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.
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.
thanks again though. big help xxx
from khahotreload.
Related Issues (7)
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from khahotreload.