royibernthal Posted April 10, 2018 Share Posted April 10, 2018 I have gulp running in the background to track changes. Changes I'm making to existing classes in gui are being compiled properly to gui/src, however new classes I'm creating are not being compiled. How can I fix this? Quote Link to comment Share on other sites More sharing options...
trevordev Posted April 10, 2018 Share Posted April 10, 2018 Are the new classes you are creating placed in new files? If so, the new files also need to be added to Babylon.js\Tools\Gulp\config.json in the proper gui section and then you need to restart gulp. Hope this helps. Quote Link to comment Share on other sites More sharing options...
royibernthal Posted April 11, 2018 Author Share Posted April 11, 2018 Yes they are placed in new files. I added them to config.json under gui.libraries.files, now the local development tries to load these files, but they are still not compiled so it doesn't find them. EDIT: Simply restarting gulp wasn't enough, I had to make changes in the files while gulp was in the background for them to be compiled. Thanks GameMonetize and trevordev 2 Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.