Business
Jobs
  • About Us
  • Solutions
    • Job Postings
      Post your job and receive qualified candidates in 48h.
    • Candidate Assessments
      500+ technical and psychological tests, plus anti-fraud.
    • Headhunting
      Tailor-made executive search from start to finish.
    • Payroll + EOR
      Payroll dispersal and EOR across 15+ LATAM countries.
  • Pricing
  • Jobs

0

104
Views
ASP.NET MVC 4 WebApp using bundles

In my company, there's a ASP.NET WebApp that uses ASP.NET MVC Bundles and by that I mean this.

public static void RegisterBundles(BundleCollection bundles)
{
    bundles.Add(new ScriptBundle("~/bundles/jquery").Include(
                 "~/Scripts/jquery-{version}.js"));

    // Code removed for clarity.
    BundleTable.EnableOptimizations = true;
}

When I'm working on the app, and I change a piece of typescript, I need to stop the application and start it again so MVC will compile TS and turn it into JS

My question is, is there anyway I can turn TS into JS and refresh the page I'm looking at so my changes will be taken and I can debug the new changes in my browser without having to restart the whole application

PS I turn off "EnableOptimizations" option so instead of getting minified everything is just in 1 file

about 4 years ago · Juan Pablo Isaza
1 answers
Answer question

0

There is a great article about using Live Reload and Browser Sync to be able to recompile on the fly. Keep in mind that since you're using TypeScript and it has to be compiled into physical JS files, you'll need a solution like this until Microsoft puts out its own feature to be able to live reload compiled code.

This article assumes you are using ASP.NET Core, by the way, not ASP.NET Framework.

https://weblog.west-wind.com/posts/2019/May/18/Live-Reloading-Server-Side-ASPNET-Core-Apps

about 4 years ago · Juan Pablo Isaza Report
Answer question
Find remote jobs

Discover the new way to find a job!

Top jobs
Top job categories
Business
Post vacancy Pricing Sales
Legal
Terms and conditions Privacy policy
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Show me some job opportunities
There's an error!