apostrophecms / apostrophe-monitor

Monitors and restarts an Apostrophe app when your code, templates, etc. change. Like nodemon but much faster because it takes advantage of how Apostrophe works.
8 stars 1 forks source link

Monitor does not observe Less changes #8

Open DorkForce opened 4 years ago

DorkForce commented 4 years ago

The problem to solve

It seems that apostrophe-monitor does not notice when Less files are changed, so to recompile the Less one must stop and restart apostrophe-monitor.

Proposed solution

Add .Less files to the default configuration. Additionally, add a configuration section to allow specified types of files to be observed.

Alternatives

It is possible to set Less up to self-recompile.

boutell commented 4 years ago

Doesn't the less-middleware module already take care of this?

On Wed, Jun 10, 2020 at 3:18 PM DorkForce notifications@github.com wrote:

The problem to solve

It seems that apostrophe-monitor does not notice when Less files are changed, so to recompile the Less one must stop and restart apostrophe-monitor. Proposed solution

Add .Less files to the default configuration. Additionally, add a configuration section to allow specified types of files to be observed. Alternatives

It is possible to set Less up to self-recompile.

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/apostrophecms/apostrophe-monitor/issues/8, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAAH27IKPNUFN6MCW5R4AKDRV7MB5ANCNFSM4N2VQJHQ .

--

THOMAS BOUTELL | CHIEF TECHNOLOGY OFFICER APOSTROPHECMS | apostrophecms.com | he/him/his