Coder Social home page Coder Social logo

Comments (4)

LukeAskew avatar LukeAskew commented on April 19, 2024

Relevant links:
architect/architect#1330
architect/inventory@b890aba

Here's my fix in dev.js. I'm sure there is a cleaner way, but this might help unblock some folks in the meantime:

process.env.PORT = process.env.PORT ?? 3000;
process.env.ARC_LOCAL = process.env.ARC_LOCAL ?? 1;
process.env.ARC_TABLES_PORT = process.env.ARC_TABLES_PORT ?? 5555;

const { watchFile, unwatchFile } = require("fs");
const { join } = require("path");
const arc = require("@architect/architect");

const server = join(__dirname, "server/index.js");

// Wait until the server is built
watchFile(server, { interval: 100 }, (curr, prev) => {
  if (!prev.size && curr.size) {
    void arc();
    unwatchFile(server);
  }
});

from grunge-stack.

jeffstahlin avatar jeffstahlin commented on April 19, 2024

Just ran into this issue as well and tried the fix @LukeAskew suggested but it didn't work. Restarting the server seemed to fix the problem though.

from grunge-stack.

github-actions avatar github-actions commented on April 19, 2024

This issue has been automatically marked stale because we haven't received a response from the original author in a while 🙈. This automation helps keep the issue tracker clean from issues that are not actionable. Please reach out if you have more information for us or you think this issue shouldn't be closed! 🙂 If you don't do so within 7 days, this issue will be automatically closed.

from grunge-stack.

github-actions avatar github-actions commented on April 19, 2024

This issue has been automatically closed because we didn't hear anything from the original author after the previous notice.

from grunge-stack.

Related Issues (20)

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.