May 23, 2022 5:35 PM
I need a URL local for watch my changes, i set a PORT but it didn't work,
how can i create a URL for watch my changes in local Envioronment with React?.
"start": "PORT=3000 webpack --watch --env.autoupload --mode production"
i don't find to documentation for it.
Solved! Go to Solution.
May 23, 2022 7:28 PM
Hi, @DLagos6 👋 Thanks for reaching out!
To confirm, our documentation for setting up your dev environment is here:
Let's see if any of our community members have any additional insight for you. Hey, @Oezcan @Jnix284 @Anton do you have any suggestions on how @DLagos6 can resolve their issue?
Thank you! – Jaycee
May 30, 2022 8:55 AM
Hi @DLagos6 ,
I'll try to help you, but I'm not sure if this is the solution.
I think you will need express and need to use something like this:
const express = require("express");
const app = express();
app.listen(port, hostname, () => {
console.log(`Server running at http://${hostname}:${port}/`);
});
Best regards,
Özcan
May 30, 2022 8:55 AM
Hi @DLagos6 ,
I'll try to help you, but I'm not sure if this is the solution.
I think you will need express and need to use something like this:
const express = require("express");
const app = express();
app.listen(port, hostname, () => {
console.log(`Server running at http://${hostname}:${port}/`);
});
Best regards,
Özcan
May 23, 2022 7:28 PM
Hi, @DLagos6 👋 Thanks for reaching out!
To confirm, our documentation for setting up your dev environment is here:
Let's see if any of our community members have any additional insight for you. Hey, @Oezcan @Jnix284 @Anton do you have any suggestions on how @DLagos6 can resolve their issue?
Thank you! – Jaycee