0

I am developing in Visual Studio and am making a lot of front-end changes to websites. But because of the server setup, every time I compile it takes one minute before I can see the changes in the browser.

Is it possible to use a program so that the website will load the site with local CSS and JavaScript files? I want to make changes locally and see the changes on the website without compiling the project.

random
  • 9,774
  • 10
  • 66
  • 83
TJ-
  • 116
  • 10
  • 1
    Why you do not use a local http server and point it to your html/css code? – Miquel May 04 '12 at 16:10
  • This really depends on how you have your project setup. Most of the time you can just debug a web project and that will start an IIS debugging against your code, so you don't need to deploy. What is your setup? – Daniel Moses May 04 '12 at 16:12

2 Answers2

3

I use Charles Proxy for that. It allows you to map certain URIs to different URIs or local files.

So you can tell it to load specific JS / CSS files from a different location (or use a wildcard and map them in bulk).

Quentin
  • 914,110
  • 126
  • 1,211
  • 1,335
1

The real question here is why you are developing a website with Visual Studio.

You should setup a local HTTP server and access your site from http://localhost.

Madara's Ghost
  • 172,118
  • 50
  • 264
  • 308
  • Visual Studio is a fine tool for website development. IF you are using .net in an IIS server. It will spawn a local HTTP server and handle a lot of the busy work for you. – Daniel Moses May 04 '12 at 16:15
  • Which brings me to the next question, why would you want to develop using .net? :P I'm kidding. But still. – Madara's Ghost May 04 '12 at 16:21