Hi, anyone know how I should compile the code after I change something in some of the files?
Is there any specific way, or is npm start enough? Or do I need to do something before npm start? In order to see my changes.
Hi, anyone know how I should compile the code after I change something in some of the files?
Is there any specific way, or is npm start enough? Or do I need to do something before npm start? In order to see my changes.
In this case I have been trying to apply changes in a .ts file.
Are you trying to do a change in the engine?
The editor automatically run tsc.
I am simply trying to edit the file runtimegame-pixi-renderer.ts and to see the console logs made in that file in inspector on chrome, but I cannot see any, so I thought it was not being compiled.
Any suggestions @davy ?
Have you started elctron-app
? I think it’s watching the sources.
yes I have @davy . However I need to run the app in Chrome in order to solve bug issue 2162 and 6477 on GitHub which is where it happens. I want and need to do console logs so I can debug, but none of my logs show up on console in chrome.
If you added your log in the runtime, you should see it in the preview window console (not the editor window console).
But maybe your code is not executed. Have you tried to add logs somewhere else to see if it is logged?