I am running a nest js project from project directory. In my web view I can only see terminal information in web view.
previews = {
enable = true;
previews = {
web = {
# # Example: run “npm run dev” with PORT set to IDX’s defined port for previews,
# # and show it in IDX’s web preview panel
command = [
“npm”
“run”
“start:dev”
“–”
“–port”
“$PORT”
“–host”
“0.0.0.0”
“–disable-host-check”
];
manager = “web”;
cwd = “./project”;
env = {
# Environment variables to set for your server
PORT = “$PORT”;
};
};
};
};