Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

f5

Package Overview
Dependencies
Maintainers
1
Versions
6
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

f5

a light static sever which will reload page when there are changes in server side!

  • 0.0.6
  • latest
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
4
increased by300%
Maintainers
1
Weekly downloads
 
Created
Source

Build Status

f5 logo

light static sever which will reload page when there are changes in server side!

icons belong to @teambox Free-file-icons

There is an extra tool works on chrome

#install $ (sudo) npm install -g f5

or if you want to test other fork

$ (sudo) npm install -g https://github.com/<user>/f5/tarball/master

#how to use ?

  • in the path which you want to be serve:

      #run command
      $ f6
      #or assign port
      $ f5 8080
    
  • open your browser(any browser),and check out http://localhost:${port you use,3000 default}(for instance:http://localhost:3000),launch your html page, f5 will reload it every time you modify it

  • if modified file isn't html, f5 won't reload the whole page but "reload" the attribute from all tags which attach the file

#force of f5 ( working via LAN! ): There is a short story: Luke are coding html on his Laptop,and Master Yoda,via LAN, can watch the page auto reloading with any browser on any OS when Luke modify the file.That's the force of f5.

recommend shell script function:

function f55() { # run f5 background
    nohup f5 $1 > /dev/null 2>&1 &
    clear
    echo f5 is runing
}

Add this function to your SHELLRC file,restart the terminal(or source the SHELLRC file) and run f55(or f55 <port>) ( And executing fg,will call f5 back in frontground. )

#Contributors

#TODO

issue

FAQs

Package last updated on 03 May 2013

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc