acacode / flamebird Goto Github PK
View Code? Open in Web Editor NEW๐ฅ task manager for Procfile-based or npm-based applications. Have console and web (GUI) versions
License: MIT License
๐ฅ task manager for Procfile-based or npm-based applications. Have console and web (GUI) versions
License: MIT License
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)
run all, stop all, clear logs buttons should have hotkeys
Sometimes we have projects with not only one package.json file. And for resolving this problem we should add the ability of parsing several package.json files
It should be better for eyes I guess
needs to use this scrollbar https://github.com/utatti/perfect-scrollbar
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
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
โ - 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
Them will be locally and saves in memory while fb server is working
They could be needed for installing dependencies for example
Use support table https://node.green/
Dont use import
keywords (because it isn't support)
Use arrow functions where it needed,
Now css files have state are raw in production build
Needs to update webpack config. Definitely update css build configuration for the fixing this problem
If the project hasn't Procfile
then npm
tab cannot switched
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
Needs to use yarn
instead of npm run
also needs use better-spawn
library for the spawning child processes
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
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.