Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Run Astrum through gulp local server #128

Open
WhatsNewSaes opened this issue Jun 1, 2017 · 2 comments
Open

Run Astrum through gulp local server #128

WhatsNewSaes opened this issue Jun 1, 2017 · 2 comments
Assignees
Labels

Comments

@WhatsNewSaes
Copy link

WhatsNewSaes commented Jun 1, 2017

Tell us about the issue you are experiencing

I'd like to run astrum through my gulp browser sync config rather than on mamp. I am able to add new components and view files in my current setup, however Astrum does not "Compile" unless I add/edit a component.

What behaviour would you expect?

I'd like for Astrum to compile whenever I edit a file without having to run this project in my mamp local server.

Perhaps there can be some sort of watch task that updates the files when they're changed. I just don't know how the current system works other than it just "works" when it's in mamp lol.

How can this issue be replicated?

spin up a localhost env with gulp and astrum

Platform: Mac
OS Version: 10.12.4
Node Version: 4.4.7
NPM Version: 2.15.8
Astrum Version: 1.9.3

@RyanHavoc RyanHavoc self-assigned this Jul 10, 2017
@RyanHavoc
Copy link
Member

Hi @WhatsNewSaes. Apologies for the delay in responding to this! I'm hesitant to enforce a specific config on Astrum as everyones local environments are different. I for example run everything through a Homestead/Vagrant...

With regards to "compiling" Astrum wouldn't a project level gulp watcher that watches for changes to Astrum components and my compiled project stylesheets and then uses browser sync to update Astrum be a workable approach?

@craigpryde
Copy link
Contributor

craigpryde commented Mar 4, 2018

Hey Folks,

For anyone requiring assistance with the above, I've posted a reply on this thread: #5

with my setup using gulp.
@WhatsNewSaes

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

3 participants