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.

2
  • 1
    Why you do not use a local http server and point it to your html/css code? Commented May 4, 2012 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? Commented May 4, 2012 at 16:12

2 Answers 2

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).

Sign up to request clarification or add additional context in comments.

Comments

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.

2 Comments

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.
Which brings me to the next question, why would you want to develop using .net? :P I'm kidding. But still.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.