Skip to content

Broken running forked livescript #916

@fansgit

Description

@fansgit

lsc 1.5.0 would be broken when running the following directly.

require! cluster

if cluster.is-master
  console.log \master
  cluster.fork!
else
  console.log \worker
  process.disconnect!
require! cluster
       ^
SyntaxError: Unexpected token !

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions