Before Launching Webserver, I want to run a gulp task

Hi,

I am using the default JavaScript Debug task to debug an HTML page. I have also installed the Chrome Extension. All works fine.

Now, I want to run a gulp task before I launch the HTML page. I add the task under "Before Lunch" panel.

Now, when I debug, a new browser opens with nothing in the URL, gulp task runs. The HTML page is not showing (once I added this gulp task).

Is there a way to launch the HTML page and at the same time run a gulp task?

 

Thanks

3 comments
Comment actions Permalink

works for me (checked in 2016.3 EAP)... what task did you add? Does it return an exit code, or is it a watch task that is kept running?

Looks related to https://youtrack.jetbrains.com/issue/WEB-21022.

0
Comment actions Permalink

Hi Elena
The gulp task I'm running is jasmine. In other words this task shall start jasmine on a Web server.

The browner opens but empty.

Thanks

0
Comment actions Permalink

does this task completes in some reasonable time, returning an exit code, or  keeps running waiting for some events? Sample project would be helpful

0

Please sign in to leave a comment.