Giter VIP home page Giter VIP logo

nox's People

Contributors

matthewmcgarvey avatar mdwagner avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar

Forkers

wout garymardell

nox's Issues

Can't read file with comments

# system_check: ignore_this
web: lucky watch

results in:

Unhandled exception: Nil assertion failed (NilAssertionError)
  from /usr/share/crystal/src/nil.cr:108:5 in 'not_nil!'
  from /usr/share/crystal/src/string.cr:4000:27 in 'parse'
  from /home/jeremy/Development/lucky_org/lucky_cli/lib/nox/src/nox/procfile.cr:5:5 in 'parse_file'
  from /home/jeremy/Development/lucky_org/lucky_cli/lib/nox/src/nox.cr:11:16 in 'run'
  from /home/jeremy/Development/lucky_org/lucky_cli/src/dev.cr:5:5 in 'call'
  from /home/jeremy/Development/lucky_org/lucky_cli/src/lucky.cr:29:3 in '__crystal_main'
  from /usr/share/crystal/src/crystal/main.cr:115:5 in 'main_user_code'
  from /usr/share/crystal/src/crystal/main.cr:101:7 in 'main'
  from /usr/share/crystal/src/crystal/main.cr:127:3 in 'main'
  from /lib/x86_64-linux-gnu/libc.so.6 in '??'
  from /lib/x86_64-linux-gnu/libc.so.6 in '__libc_start_main'
  from lucky in '_start'
  from ???

Stop all processes if one fails

No clue if this is a good idea or not, but I just ran in to an issue where I ran lucky dev, and then got all my web output and started browsing my app. I was trying to figure out why I was missing some data so I scroll back up my log to find out that my mosquito process never compiled. I had a syntax error in my worker (why the web still compiled, I have no clue...), but since the worker process never actually booted, then it seems like the web shouldn't have either. 🤷‍♂️

kill: No such process (RuntimeError)

I hit ^C on my running app, and got this error:

web          | 
web          |  ▸ Sent 500 Internal Server Error (21.81ms) (a2b74804-eb89-4e2a-827e-321d1457725c)
^Csystem_check | Attempting to interrupt...
kill: No such process (RuntimeError)
  from /usr/share/crystal/src/crystal/system/unix/process.cr:58:5 in 'signal'
  from /usr/share/crystal/src/process.cr:293:5 in 'signal'
  from /home/jeremy/Development/lucky_org/lucky_cli/lib/nox/src/nox/process.cr:25:7 in 'interrupt'
  from /home/jeremy/Development/lucky_org/lucky_cli/lib/nox/src/nox/runner.cr:23:22 in 'interrupt_or_kill'
  from /home/jeremy/Development/lucky_org/lucky_cli/lib/nox/src/nox.cr:13:24 in '->'
  from /usr/share/crystal/src/primitives.cr:266:3 in '->'
  from /usr/share/crystal/src/primitives.cr:266:3 in 'run'
  from /usr/share/crystal/src/fiber.cr:92:34 in '->'
  from ???
FATAL: uncaught exception while processing handler for INT, exiting

Coloring difference between nox and overmind

Here's what Nox looks like when I boot my app
Screen Shot 2021-12-29 at 8 44 01 AM

Here's what Overmind looks like
Screen Shot 2021-12-29 at 8 46 18 AM

There's a few differences here:

  • Nox shows the yarn run v1.22.17 line under "web" as where Overmind just has it on its own line. I'm not sure which is better...
  • Same goes for the actual browser-sync command.
  • The [Browsersync] in "web" on Nox isn't colorized, but in Overmind it is. Notice in the assets it is though
  • Same goes for some links

Multiple output on carriage return

Screenshot from 2022-04-18 16-35-09

I haven't looked at the code, but I'm assuming the spinner prints \r which will return the writer to the beginning of the line to draw a new line (thus making it look animated). In the case of Nox, it seems to just re-print \n.

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.