I'm trying to change my asp.net core hosting environment to development.
What I already did is :

1. Run this command:

```
set ASPNETCORE_ENVIRONMENT=Development

```
2. Change the environment variables in system:

[![enter image description here](https://i.stack.imgur.com/Xrpr5.jpg)](https://i.stack.imgur.com/Xrpr5.jpg)
3. Run these commands:

```
dotnet restore

dotnet watch run 

```

I just see in the *projectName.csproj* file there is comment that say that **it run the production**, maybe that's the problem.

```
<Target Name="RunWebpack" AfterTargets="ComputeFilesToPublish">
<!-- As part of publishing, ensure the JS resources are freshly built in production mode -->
<Exec Command="npm install" />
<Exec Command="node node_modules/webpack/bin/webpack.js --config webpack.config.vendor.js --env.prod" />
<Exec Command="node node_modules/webpack/bin/webpack.js --env.prod" />

```

But for now what I see in my project is *Hosting environment : Production*
and I want to change it to environment because I can't see the changes in live when I change client side changes like HTML, CSS.