Develop web pages quickly with instant browser refresh.
The end result is that you can have any reasonably modern browser automatically refresh the page when you save a new version of any file, even a remote browser running on another computer. This saves you from having to manually reload the page after each change, which allows near-realtime rendering and updating as you modify HTML and CSS files.
That said, dweb stands for debugging webserver, so don't event think of using
it in a production environment. At the very least, it assumes that HTML files contain at least a
dweb needs a Linux system that allows the
inotify package to be used.
The browser needs to support socket.io, which includes Internet Explorer 5.5+,
Safari 3+, Chrome 4+, Firefox 3+, and mobile Safari and Android browsers (basically
Install globally via
npm. Remember, you need a Linux system that supports the
npm install -g dweb
Or install locally into a
npm install dweb
and then run
dweb in any directory and point your browser to
No files are harmed in the running of this webserver.