Git Product home page Git Product logo

flamebird's Issues

Stylize logs in 'fb start` command

I guess logs should be like
${taskName} | ${logLine1}
${taskName} | ${logLine2}
etc.
For a more good viewing logs
For example

task1 | webpack start building...
task2 | styles has been builded

Will be good if concerning this issue in command fb start will have been added option --show-time or something like, for displaying time of log task1 : 11:30 | my log

`npm` and `yarn` tasks should be updated

Flamebird run npm tasks like npm run example
And example in package.json it is
webpack -p -v -bla-bla-bla
Flamebird should rewrite webpack to node_modules/.bin/webpack and etc.
Because sometimes npm or yarn try to launch libraries which installed is globally

Wrong transpiled commands 'npm run'

Command "npm run build ..."
In some project I have scripts in package.json

{
...
"build": "webpack",
...
"test": "npm run build && mocha "test/unit/**/*.js" --compilers js:babel-core/register"
}

Flamebird transpile command "npm run build" to "node_modules\.bin\webpack.cmd build" and it is not valid

One of cases to solve it - it is to disable transpiling scripts feature 

not send data when websocket is not open

Error: WebSocket is not open: readyState 3 (CLOSED)
    at WebSocket.send (D:\projects\flamebird\node_modules\ws\lib\websocket.js:314:19)
    at Function.send (D:\projects\flamebird\lib\ws.js:23:6)
    at Object.saveCommandData (D:\projects\flamebird\lib\processWorker.js:21:8)
    at Socket.emit (events.js:180:13)
    at addChunk (_stream_readable.js:274:12)
    at readableAddChunk (_stream_readable.js:261:11)
    at Socket.Readable.push (_stream_readable.js:218:10)
    at Pipe.onread (net.js:581:20)

hotkeys for scroll actions

โ†‘ - scroll logs to top , not to the start
โ†“ - like top arrow, but reverse action
SHIFT+โ†‘ - scroll logs to the start
SHIFT+โ†“ - scroll logs to the end

fb web: UnhandledPromiseRejectionWarning: Error: spawn chrome ENOENT

When we start web application. fb takes error

js2me@js2me-pc ~/Projects/**** $ fb web
Server started on port 5050
(node:3390) UnhandledPromiseRejectionWarning: Error: spawn chrome ENOENT
    at Process.ChildProcess._handle.onexit (internal/child_process.js:201:19)
    at onErrorNT (internal/child_process.js:379:16)
    at process._tickCallback (internal/process/next_tick.js:114:19)
    at Function.Module.runMain (module.js:692:11)
    at startup (bootstrap_node.js:194:16)
    at bootstrap_node.js:666:3
(node:3390) UnhandledPromiseRejectionWarning: Unhandled promise rejection. This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch(). (rejection id: 1)
(node:3390) [DEP0018] DeprecationWarning: Unhandled promise rejections are deprecated. In the future, promise rejections that are not handled will terminate the Node.js process with a non-zero exit code.

Linux, MintOS

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.