bjoluc / jspsych-builder

A CLI utility to easily develop and package jsPsych experiments
MIT License
47 stars 12 forks source link

Can I add a proxy to devServer? #49

Closed fenglier closed 1 year ago

fenglier commented 1 year ago

Every time I need to debug with the backend, I have to package the code and deploy it to the server where the backend is located. This process is quite cumbersome. Therefore, can I set up a proxy for the development server to save a lot of time?

fenglier commented 1 year ago

I found that the configuration for devServer is located in tasks.ts, but I don't have control over it. image

bjoluc commented 1 year ago

Hey @fenglier, you're absolutely right that there should be a way to alter the devServer config. I'm thinking about supporting this in builder.config.mjs, but it will probably be a week or so until I have a decent block of time to look into it. I'll update you here once I get to it. Cheers!

fenglier commented 1 year ago

Hey @fenglier, you're absolutely right that there should be a way to alter the devServer config. I'm thinking about supporting this in builder.config.mjs, but it will probably be a week or so until I have a decent block of time to look into it. I'll update you here once I get to it. Cheers!

oo, thanks

github-actions[bot] commented 1 year ago

:tada: This issue has been resolved in version 4.4.0 :tada:

The release is available on:

Your semantic-release bot :package::rocket: