[SOLVED] How to use GULP on Gomix?

Hi Sladix,

thanks for asking, and we hope you’re enjoying your experience on Gomix :slight_smile: There is a couple ways to solve your problem.

The “fully automated way” is to call gulp from your package.json file, as part of the "start" script.

If you just want to give gulp a shot and see what happens, you can access the “experimental” command line. Put this bookmarklet on your bookmark bar:

javascript:(function () { var existingConsole = $(".custom-console"); if (existingConsole.length > 0) { existingConsole.remove(); } else { var consoleDiv = $( '<div id="activity-log" class="custom-console" style="overflow: hidden;">' ); var url = `https://api.${window.location.host}/${application.currentProject().name()}/console/${application.currentUser().persistentToken()}/`; consoleDiv[0].innerHTML = `<iframe src="${url}" style="width: 100%; height: 100%" />`; $("#activity-log").after( consoleDiv ); } })()

and you’ll have a nice terminal on your editor :slight_smile:

6 Likes