Tutu Godfrey Oritseshutieyimi
2 min readMay 23, 2018

--

How Live-server ease my development

In a typical day work, a software developer will have to encounter varying technologies or tools that can ease the development process. Many of such technologies may be new to the developer. Usually, there is fear of how the usage of a new technology can affect the workflow. Will it break the process? Will it enhance the and speed up development? How much time would I spend learning this new technology? These are some of the questions that can bother a developer when deciding whether they should use a new technology or now. As an aspiring world class developer, I have had times when such thoughts borders on my mind. Most time when I am trying to beat a deadline, and here is a new tools before me. I sometimes wonder why don’t I do with what I am already familiar with. But I have to adapt to new tools and technology to advance my desire of being a tech leader. In preparation of bootcamp, I came across this tiny but powerful tool that ease my development of the UI template. This tool is live-server.

Live-server is an npm package that run file in localhost. It is especially powerful because of its live-reload capability. This means that while development is ongoing in a file or directory, it sit there waiting for changes. And it automatically reload the file, so you can see changes in your document without having to press the refresh button on your browser. It save time and energy and facilitate the development process. My norm was to alway go and hit the refresh button every time I made changes to my files that and want to see the changes. But after watching a video that introduces live-server, I felt like why not try it out! And it is really cool.

Using live-server is easy. To start open your command line and run npm install live-server -g. The -g flag specifies that the package should be installed globally. But you can choose to install in a specific directory. If so cd /to/the/directory and npm install live-server -S. After installation you can load live-server by run live-server in your command line. It’s that easy! Go and make use of live-server to to enhance your development.

--

--

Tutu Godfrey Oritseshutieyimi

I am a Fullstack Software engineer with commitment to delivering great products. Enthusiastic about DevOps and Linux system administration