Giter Club home page Giter Club logo

cerebro-reload's Introduction

[Moved to Core] Cerebro Reload

Reload Cerebro using Cerebro

As of cerebro#241 this plugins belongs to Cerebro core plugins.

Why? Neither F5 or cmd+r can reload Cerebro unless you're at Developer Tools and I'm a Vim user... That means I don't want to move my mouse to DevTools, click on it, trigger refresh then head back to my (dear) shell.

Usage

In Cerebro, type reload then press Enter.

Related

License

MIT ยฉ Lubien

cerebro-reload's People

Contributors

kelion avatar lubien avatar

Stargazers

 avatar  avatar

Watchers

 avatar  avatar  avatar

Forkers

kelion

cerebro-reload's Issues

Publish this plugin to NPM

Hey @lubien, how are you? :)

Could you publish this to NPM? This is incredibly useful when developing plugins!

Not a huge fan of going to my system tray and going through all menus to click on "reload"!

Moving plugin to core

Hey, @lubien!

I found you plugin in cerebro plugins list and I think it makes sense to move it to the core, because it can be useful for development/debugging/etc.

What do you think about it? I'd appreciate PR to Cerebro.

You can do it like quit subplugin works now. Also I've noticed that you just use location.reload(), that is not correct, because Cerebro contains two windows: main UI and background, and location.reload() will reload only main window. To reload both windows you can do something like:

import { send } from 'lib/rpc/events'

// Send message to reload background window
send('reload')
// Reload main UI window
location.reload()

Looking forward for you PR! Let me know if I can help with something

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.