The reason I built this browser add-on is to delight the experience of server-side programming. Many of you have probably experienced the frustration when you work with server side code and that you have to manually update the webpage every time you save the document.
Therefore, I've chosen to build an additional add-on to an already existing vscode extension, thus providing the option of live reload when working with a particular framework or server.
master/
┃
┣━━img/ // Folder with images
┃
┣━━popup/ // Folder for the popup page
┃
┣━━manifest.json // Initiate the extension to app store
┣━━background.js // Background script
┗━━reload.js // Reload functionality
The manifest.json file is a JSON-formatted file, and is the only file that every extension using WebExtension APIs must contain.
Using manifest.json, you specify basic metadata about your extension such as the name and version
Background scripts are the place to put code that needs to maintain long-term state, or perform long-term operations, independently of the lifetime of any particular web pages or browser windows.
Background scripts are loaded as soon as the extension is loaded and stay loaded until the extension is disabled or uninstalled. You can use any of the WebExtension APIs in the script, as long as you have requested the necessary permissions.
info is needed...
[all through you can use the npm package live-server]