Skip to content

external file changes do not cause reload #6

@johnwebbcole

Description

@johnwebbcole

Hey guys, great work on the plugin. Tried it again after a few months, and it's working well. One issue I have is with the workflow that I use.

I use a lot of jscad libraries, and have a gulp project and yeoman generator to set up jscad projects. Due to issues with the normal jscad include loaders, I bundle my libraries and source into one file inside a ./dist/ directory. See jscad-utils for the main library I use, and leafblower for a small sample project.

I run a gulp task to watch the code files (and any linked libraries) for changes, to regenerate the ./dist/leafblower.jscad' combined file. The atom-scad-previewdoesn't seem to see the file changes if this file is modified outside atom. If I open and then save the./dist/leafblower.jscad` file, it will reload the viewer.

I've written a couple of atom plugins, so I'd be willing to help :-) Any pointer as to where to look in the code, I've just started digging through it.

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